neptune/docker/docker-compose.prod.yml

20 lines
475 B
YAML
Raw Normal View History

2022-07-29 08:51:19 +00:00
version: "2"
services:
app:
2022-07-29 21:22:22 +00:00
image: pathogen/neptune:latest
build: ./docker/prod
2022-07-29 08:51:19 +00:00
volumes:
- ${PORTAINER_GIT_DIR}:/code
- ${PORTAINER_GIT_DIR}/docker/prod/uwsgi.ini:/conf/uwsgi.ini
- ${NEPTUNE_LOCAL_SETTINGS}:/code/app/local_settings.py
2022-07-29 21:22:22 +00:00
- ${NEPTUNE_DATABASE_FILE}:/code/db.sqlite3
2022-07-29 08:51:19 +00:00
ports:
- "${NEPTUNE_PORT}:8000" # uwsgi socket
2022-07-29 08:51:19 +00:00
env_file:
- ../stack.env
networks:
default:
external:
name: pathogen