Compare commits

...

2 Commits

261 changed files with 37 additions and 84 deletions

View File

@@ -40,11 +40,13 @@ ENV NEXT_TELEMETRY_DISABLED=1
# non-root user # non-root user
RUN addgroup -S nodejs -g 1001 && adduser -S nextjs -u 1001 RUN addgroup -S nodejs -g 1001 && adduser -S nextjs -u 1001
COPY --from=builder /app/apps/next/public ./public COPY --from=builder /app/apps/next/public ./public
RUN mkdir .next && chown -R nextjs:nodejs .next
RUN mkdir -p .next/cache && chown -R nextjs:nodejs .next RUN mkdir -p .next/cache && chown -R nextjs:nodejs .next
# Next standalone output # Next standalone output
COPY --from=builder /app/apps/next/.next/standalone ./ COPY --from=builder /app/apps/next/.next/standalone ./
COPY --from=builder /app/apps/next/.next/static ./.next/static COPY --from=builder /app/apps/next/.next/static ./.next/static
COPY --from=builder /app/node_modules ./node_modules
USER nextjs USER nextjs
EXPOSE 3000 EXPOSE 3000

View File

@@ -1,7 +1,23 @@
networks: networks:
nginx-bridge: # Change this one line to match your network name in env file. nginx-bridge: # You need to change this line to your defined network is as well
external: true external: true
services: services:
techtracker-next:
build:
context: ../
dockerfile: ./docker/Dockerfile
image: ${CONTAINER_NAME}:alpine
container_name: ${CONTAINER_NAME}
env_file: [.env]
hostname: ${CONTAINER_NAME}
domainname: ${DOMAIN_NAME}
networks: ['${NETWORK:-nginx-bridge}']
#ports: ['${PORT}:3000']
depends_on: ['convex-backend']
tty: true
stdin_open: true
restart: unless-stopped
convex-backend: convex-backend:
image: ghcr.io/get-convex/convex-backend:${BACKEND_TAG:-00bd92723422f3bff968230c94ccdeb8c1719832} image: ghcr.io/get-convex/convex-backend:${BACKEND_TAG:-00bd92723422f3bff968230c94ccdeb8c1719832}
container_name: ${BACKEND_CONTAINER_NAME:-convex-backend} container_name: ${BACKEND_CONTAINER_NAME:-convex-backend}
@@ -31,7 +47,6 @@ services:
start_period: 10s start_period: 10s
stop_grace_period: 10s stop_grace_period: 10s
stop_signal: SIGINT stop_signal: SIGINT
convex-dashboard: convex-dashboard:
image: ghcr.io/get-convex/convex-dashboard:${DASHBOARD_TAG:-33cef775a8a6228cbacee4a09ac2c4073d62ed13} image: ghcr.io/get-convex/convex-dashboard:${DASHBOARD_TAG:-33cef775a8a6228cbacee4a09ac2c4073d62ed13}
container_name: ${DASHBOARD_CONTAINER_NAME:-convex-dashboard} container_name: ${DASHBOARD_CONTAINER_NAME:-convex-dashboard}
@@ -52,4 +67,3 @@ services:
restart: unless-stopped restart: unless-stopped
stop_grace_period: 10s stop_grace_period: 10s
stop_signal: SIGINT stop_signal: SIGINT

View File

@@ -0,0 +1 @@
Convex.gib

View File

@@ -0,0 +1 @@
d35a9c02aeef0070fac3069d51ac4926744b251d0e6d97dc239d78bce67959b6

BIN
docker/data/db.sqlite3 Normal file

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 782 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 782 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 992 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 MiB

Some files were not shown because too many files have changed in this diff Show More