You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kompass/docker-compose.yaml

29 lines
654 B
YAML

version: "3.9"
services:
nginx:
build: ./nginx/
restart: always
volumes:
- uwsgi_data:/tmp/uwsgi/
- web_static:/var/www/jdav_web/assets/:ro
ports:
- "8888:80"
depends_on:
- django
django:
build: ./jdav_web/
env_file: docker.env
restart: always
command: >
sh -c "python manage.py collectstatic --noinput
&& uwsgi --ini kompass.uwsgi.ini"
volumes:
- uwsgi_data:/tmp/uwsgi/
- web_static:/code/static/
- web_static:/var/www/jdav_web/assets/
volumes:
uwsgi_data:
web_static: