monolith/docker-compose.yml

36 lines
767 B
YAML
Raw Normal View History

2022-07-28 18:25:15 +00:00
version: "2"
2022-07-28 18:21:08 +00:00
services:
app:
image: pathogen/threshold
build: .
volumes:
- ${PORTAINER_GIT_DIR}:/code
2022-07-28 18:21:08 +00:00
ports:
- "${THRESHOLD_LISTENER_PORT}:${THRESHOLD_LISTENER_PORT}"
- "${THRESHOLD_RELAY_PORT}:${THRESHOLD_RELAY_PORT}"
- "${THRESHOLD_API_PORT}:${THRESHOLD_API_PORT}"
env_file:
2022-07-28 18:57:26 +00:00
- stack.env
2022-07-28 18:21:08 +00:00
# for development
extra_hosts:
- "host.docker.internal:host-gateway"
tmp:
image: busybox
command: chmod -R 777 /var/run/redis
volumes:
- /var/run/redis
redis:
image: redis
command: redis-server /etc/redis.conf
volumes:
- ./docker/redis.conf:/etc/redis.conf
volumes_from:
- tmp
networks:
default:
external:
name: pathogen