This commit is contained in:
Elijah McMorris 2024-02-18 16:48:13 +00:00
parent 51f422874f
commit b0f3e6c576
Signed by: NexVeridian
SSH key fingerprint: SHA256:bsA1SKZxuEcEVHAy3gY1HUeM5ykRJl0U0kQHQn0hMg8
4 changed files with 7 additions and 6 deletions

View file

@ -11,5 +11,5 @@
Cargo.lock
docker-compose.dev.yml
docker-compose.yml
dockerfile
Dockerfile
*.md

View file

@ -44,7 +44,7 @@ ENV NEXT_TELEMETRY_DISABLED 1
RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 nextjs
COPY --from=builder /app/public ./public
# COPY --from=builder /app/public ./public
# Automatically leverage output traces to reduce image size
# https://nextjs.org/docs/advanced-features/output-file-tracing

View file

@ -1,6 +1,7 @@
version: "3"
services:
nextjs:
next-url-shortener:
container_name: next-url-shortener
build: .
env_file:
- .env
@ -9,7 +10,7 @@ services:
depends_on:
- surrealdb
networks:
- surrealdb-network
- surrealdb
surrealdb:
container_name: surrealdb
@ -34,10 +35,10 @@ services:
volumes:
- ./data:/data
networks:
- surrealdb-network
- surrealdb
volumes:
data:
networks:
surrealdb-network:
surrealdb: