You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
902 B
YAML
38 lines
902 B
YAML
2 years ago
|
version: "2"
|
||
|
|
||
|
services:
|
||
|
app:
|
||
2 years ago
|
image: pathogen/threshold:latest
|
||
2 years ago
|
build: ./docker
|
||
|
volumes:
|
||
|
- ${PORTAINER_GIT_DIR}:/code
|
||
2 years ago
|
- ${THRESHOLD_CONFIG_DIR}:/code/conf/live
|
||
2 years ago
|
#- ${THRESHOLD_TEMPLATE_DIR}:/code/conf/templates
|
||
2 years ago
|
- ${THRESHOLD_CERT_DIR}:/code/conf/cert
|
||
2 years ago
|
ports:
|
||
|
- "${THRESHOLD_LISTENER_PORT}:${THRESHOLD_LISTENER_PORT}"
|
||
|
- "${THRESHOLD_RELAY_PORT}:${THRESHOLD_RELAY_PORT}"
|
||
|
- "${THRESHOLD_API_PORT}:${THRESHOLD_API_PORT}"
|
||
|
env_file:
|
||
2 years ago
|
- ../stack.env
|
||
2 years ago
|
volumes_from:
|
||
|
- tmp
|
||
|
|
||
|
tmp:
|
||
|
image: busybox
|
||
|
command: chmod -R 777 /var/run/redis
|
||
|
volumes:
|
||
|
- /var/run/redis
|
||
|
|
||
|
redis:
|
||
|
image: redis
|
||
|
command: redis-server /etc/redis.conf
|
||
|
volumes:
|
||
2 years ago
|
- ${PORTAINER_GIT_DIR}/docker/redis.conf:/etc/redis.conf
|
||
2 years ago
|
volumes_from:
|
||
|
- tmp
|
||
|
|
||
|
networks:
|
||
|
default:
|
||
|
external:
|
||
|
name: pathogen
|