Skip to content
Snippets Groups Projects
Commit 22884ed6 authored by Ivan Procaccini's avatar Ivan Procaccini
Browse files

Chore: Update docker-compose

parent 4f1bc736
No related branches found
No related tags found
No related merge requests found
Pipeline #311518 failed
version: "3.9"
services:
db:
image: postgres
environment:
- POSTGRES_USER
- POSTGRES_PASSWORD
- POSTGRES_DB
volumes:
- postgres_data:/var/lib/postgresql/data
web:
image: ${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_NAME}
environment:
- ENV=production
- SECRET_KEY
- DB_URL=postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@db/$POSTGRES_DB
depends_on:
- db
- DB_URL
reverse_proxy:
image: ${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_NAME}-nginx
ports:
......@@ -25,5 +15,3 @@ services:
depends_on:
- web
volumes:
postgres_data:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment