44 lines
882 B
YAML
44 lines
882 B
YAML
version: "2"
|
|
|
|
services:
|
|
app:
|
|
image: pathogen/neptune:latest
|
|
build: ./docker
|
|
volumes:
|
|
- ${PORTAINER_GIT_DIR}:/code
|
|
- ${NEPTUNE_LOCAL_SETTINGS}:/code/app/local_settings.py
|
|
- ${NEPTUNE_DATABASE_FILE}:/code/db.sqlite3
|
|
ports:
|
|
- "${NEPTUNE_PORT}:8000"
|
|
env_file:
|
|
- .env
|
|
volumes_from:
|
|
- tmp
|
|
|
|
# pyroscope:
|
|
# image: pyroscope/pyroscope
|
|
# environment:
|
|
# - PYROSCOPE_LOG_LEVEL=debug
|
|
# ports:
|
|
# - '4040:4040'
|
|
# command:
|
|
# - 'server'
|
|
|
|
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
|
|
|
|
networks:
|
|
default:
|
|
external:
|
|
name: pathogen |