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