2022-07-29 21:22:22 +00:00
|
|
|
version: "2"
|
|
|
|
|
|
|
|
services:
|
|
|
|
app:
|
2022-07-29 21:22:22 +00:00
|
|
|
image: pathogen/neptune:latest
|
2022-07-29 08:51:19 +00:00
|
|
|
build: ./docker
|
2022-07-29 21:22:22 +00:00
|
|
|
volumes:
|
2022-07-29 08:51:19 +00:00
|
|
|
- ${PORTAINER_GIT_DIR}:/code
|
2022-07-29 21:22:22 +00:00
|
|
|
- ${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 21:22:22 +00:00
|
|
|
ports:
|
2022-07-29 08:51:19 +00:00
|
|
|
- "${NEPTUNE_PORT}:8000"
|
|
|
|
env_file:
|
|
|
|
- .env
|
2022-08-18 06:20:30 +00:00
|
|
|
volumes_from:
|
|
|
|
- tmp
|
2022-07-29 21:22:22 +00:00
|
|
|
|
2022-08-03 06:20:30 +00:00
|
|
|
# pyroscope:
|
|
|
|
# image: pyroscope/pyroscope
|
|
|
|
# environment:
|
|
|
|
# - PYROSCOPE_LOG_LEVEL=debug
|
|
|
|
# ports:
|
|
|
|
# - '4040:4040'
|
|
|
|
# command:
|
|
|
|
# - 'server'
|
2022-08-02 21:22:22 +00:00
|
|
|
|
2022-08-18 06:20:30 +00:00
|
|
|
tmp:
|
|
|
|
image: busybox
|
|
|
|
command: chmod -R 777 /var/run/redis
|
|
|
|
volumes:
|
|
|
|
- /var/run/redis
|
|
|
|
|
|
|
|
redis:
|
|
|
|
image: redis
|
|
|
|
command: redis-server /etc/redis.conf
|
|
|
|
volumes:
|
|
|
|
- ${PORTAINER_GIT_DIR}/docker/redis.conf:/etc/redis.conf
|
|
|
|
volumes_from:
|
|
|
|
- tmp
|
|
|
|
|
2022-07-29 21:22:22 +00:00
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
external:
|
|
|
|
name: pathogen
|