Update reactive-resume/docker-compose.yaml
This commit is contained in:
@@ -8,8 +8,6 @@ services:
|
|||||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||||
volumes:
|
volumes:
|
||||||
- postgres_data:/var/lib/postgresql
|
- postgres_data:/var/lib/postgresql
|
||||||
networks:
|
|
||||||
- reactive_resume_network
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -U postgres -d postgres"]
|
test: ["CMD-SHELL", "pg_isready -U postgres -d postgres"]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
@@ -20,14 +18,12 @@ services:
|
|||||||
image: amruthpillai/reactive-resume:latest
|
image: amruthpillai/reactive-resume:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- APP_URL=https://resume.${DOMAIN}
|
- APP_URL=https://resume.flab.sh
|
||||||
- DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres
|
- DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres
|
||||||
- AUTH_SECRET=${AUTH_SECRET}
|
- AUTH_SECRET=${AUTH_SECRET}
|
||||||
# Add other optional env vars as needed (SMTP, S3, OAuth, etc.)
|
# Add other optional env vars as needed (SMTP, S3, OAuth, etc.)
|
||||||
volumes:
|
volumes:
|
||||||
- reactive_resume_data:/app/data
|
- reactive_resume_data:/app/data
|
||||||
networks:
|
|
||||||
- reactive_resume_network
|
|
||||||
ports:
|
ports:
|
||||||
- "5000:3000"
|
- "5000:3000"
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
Reference in New Issue
Block a user