tpotce/docker/tanner/docker-compose.yml
2018-05-26 23:09:31 +00:00

86 lines
1.5 KiB
YAML

version: '2.3'
networks:
tanner_local:
services:
# Tanner Redis Service
tanner_redis:
container_name: tanner_redis
restart: always
stop_signal: SIGKILL
tty: true
networks:
- tanner_local
image: "dtagdevsec/redis:1804"
# PHP Sandbox service
tanner_phpox:
build: ./phpox
container_name: tanner_phpox
restart: always
stop_signal: SIGKILL
tty: true
networks:
- tanner_local
image: "dtagdevsec/phpox:1804"
# Tanner API Service
tanner_api:
build: ./tanner
container_name: tanner_api
restart: always
stop_signal: SIGKILL
tty: true
networks:
- tanner_local
image: "dtagdevsec/tanner:1804"
command: tannerapi
depends_on:
- tanner_redis
# Tanner WEB Service
tanner_web:
build: ./tanner
container_name: tanner_web
restart: always
stop_signal: SIGKILL
tty: true
networks:
- tanner_local
image: "dtagdevsec/tanner:1804"
command: tannerweb
depends_on:
- tanner_redis
# Tanner Service
tanner:
build: ./tanner
container_name: tanner
restart: always
stop_signal: SIGKILL
tty: true
networks:
- tanner_local
image: "dtagdevsec/tanner:1804"
command: tanner
depends_on:
- tanner_api
- tanner_web
- tanner_phpox
# Snare Service
snare:
build: ./snare
container_name: snare
restart: always
stop_signal: SIGKILL
tty: true
networks:
- tanner_local
ports:
- "80:80"
image: "dtagdevsec/snare:1804"
depends_on:
- tanner