34 lines
608 B
YAML
34 lines
608 B
YAML
|
version: "3.9"
|
||
|
|
||
|
services:
|
||
|
app:
|
||
|
image: pathogen/threshold
|
||
|
build: .
|
||
|
volumes:
|
||
|
- .:/code
|
||
|
ports:
|
||
|
- "13867:13867"
|
||
|
- "13868:13868"
|
||
|
- "13869:13869"
|
||
|
# 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
|