Created
July 29, 2024 21:11
-
-
Save Lauriy/76420152d1abf60ad2e6851c44e19e3b to your computer and use it in GitHub Desktop.
Production docker-compose entry for Django + uwsgi with file sockets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rik_proovitoo_prod: | |
profiles: ["prod"] | |
build: | |
context: . | |
target: production | |
image: laurielias/rik_proovitoo:latest | |
container_name: rik_proovitoo_prod | |
volumes: | |
- ./run:/home/docker/rik_proovitöö/run | |
environment: | |
- DJANGO_ENV=production | |
depends_on: | |
- postgres |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment