Skip to content

Instantly share code, notes, and snippets.

@Lauriy
Created July 29, 2024 21:11
Show Gist options
  • Save Lauriy/76420152d1abf60ad2e6851c44e19e3b to your computer and use it in GitHub Desktop.
Save Lauriy/76420152d1abf60ad2e6851c44e19e3b to your computer and use it in GitHub Desktop.
Production docker-compose entry for Django + uwsgi with file sockets
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