Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 21 additions & 21 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,27 +37,27 @@ services:
networks:
- mynetwork

nextjs-app:
container_name: nextjs-app
build:
context: ./server
dockerfile: Dockerfile
ports:
- "3000:3000"
environment:
NEXT_PUBLIC_POSTGRES_HOST: pgdb
NEXT_PUBLIC_POSTGRES_USER: postgres
NEXT_PUBLIC_POSTGRES_PASSWORD: postgres
NEXT_PUBLIC_REDIS_HOST: redis
NEXT_PUBLIC_REDIS_PORT: 6379
depends_on:
- postgres
- redis
networks:
- mynetwork
dns:
- 8.8.8.8 # Google's public DNS
- 1.1.1.1 # Cloudflare's public DNS
# nextjs-app:
# container_name: nextjs-app
# build:
# context: ./server
# dockerfile: Dockerfile
# ports:
# - "3000:3000"
# environment:
# NEXT_PUBLIC_POSTGRES_HOST: pgdb
# NEXT_PUBLIC_POSTGRES_USER: postgres
# NEXT_PUBLIC_POSTGRES_PASSWORD: postgres
# NEXT_PUBLIC_REDIS_HOST: redis
# NEXT_PUBLIC_REDIS_PORT: 6379
# depends_on:
# - postgres
# - redis
# networks:
# - mynetwork
# dns:
# - 8.8.8.8 # Google's public DNS
# - 1.1.1.1 # Cloudflare's public DNS

volumes:
postgres:
Expand Down
2 changes: 1 addition & 1 deletion server/.env
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ AUDIENCE=http://localhost:3000

NEXT_PUBLIC_BASE_URL=http://localhost:3000
EMAIL_USER= "[email protected]"
EMAIL_PASS= "veta zlgl uokl karu"
EMAIL_PASS= "test"