tpotce/docker/tanner/docker-compose.yml

120 lines
2.3 KiB
YAML
Raw Normal View History

2018-05-26 23:09:31 +00:00
version: '2.3'
networks:
tanner_local:
services:
# Tanner Redis Service
tanner_redis:
2018-12-12 08:48:45 +00:00
build: ./redis
2018-05-26 23:09:31 +00:00
container_name: tanner_redis
restart: always
stop_signal: SIGKILL
tty: true
2022-03-13 10:19:08 +00:00
# cpu_count: 1
# cpus: 0.25
2018-05-26 23:09:31 +00:00
networks:
- tanner_local
image: "dtagdevsec/redis:2203"
2018-05-28 16:36:02 +00:00
read_only: true
2018-05-26 23:09:31 +00:00
# PHP Sandbox service
tanner_phpox:
build: ./phpox
container_name: tanner_phpox
restart: always
stop_signal: SIGKILL
tmpfs:
- /tmp:uid=2000,gid=2000
2018-05-26 23:09:31 +00:00
tty: true
2022-03-13 10:19:08 +00:00
# cpu_count: 1
# cpus: 0.25
2018-05-26 23:09:31 +00:00
networks:
- tanner_local
image: "dtagdevsec/phpox:2203"
2018-05-28 16:36:02 +00:00
read_only: true
2018-05-26 23:09:31 +00:00
# Tanner API Service
tanner_api:
build: ./tanner
container_name: tanner_api
restart: always
stop_signal: SIGKILL
2018-05-28 16:36:02 +00:00
tmpfs:
- /tmp/tanner:uid=2000,gid=2000
2018-05-26 23:09:31 +00:00
tty: true
2022-03-13 10:19:08 +00:00
# cpu_count: 1
# cpus: 0.25
2018-05-26 23:09:31 +00:00
networks:
- tanner_local
image: "dtagdevsec/tanner:2203"
2018-05-28 16:36:02 +00:00
read_only: true
volumes:
- /data/tanner/log:/var/log/tanner
2018-05-26 23:09:31 +00:00
command: tannerapi
depends_on:
- tanner_redis
# Tanner WEB Service
# tanner_web:
# build: ./tanner
# container_name: tanner_web
# restart: always
# stop_signal: SIGKILL
# tmpfs:
# - /tmp/tanner:uid=2000,gid=2000
# tty: true
# networks:
# - tanner_local
2020-03-03 12:30:57 +00:00
# ports:
# - "127.0.0.1:8091:8091"
# image: "dtagdevsec/tanner:2203"
# command: tannerweb
# read_only: true
# volumes:
# - /data/tanner/log:/var/log/tanner
# depends_on:
# - tanner_redis
2018-05-26 23:09:31 +00:00
# Tanner Service
tanner:
build: ./tanner
container_name: tanner
restart: always
stop_signal: SIGKILL
2018-05-28 16:36:02 +00:00
tmpfs:
- /tmp/tanner:uid=2000,gid=2000
2018-05-26 23:09:31 +00:00
tty: true
2022-03-13 10:19:08 +00:00
# cpu_count: 1
# cpus: 0.25
2018-05-26 23:09:31 +00:00
networks:
- tanner_local
image: "dtagdevsec/tanner:2203"
2018-05-26 23:09:31 +00:00
command: tanner
2018-05-28 16:36:02 +00:00
read_only: true
volumes:
- /data/tanner/log:/var/log/tanner
2018-05-28 21:45:43 +00:00
- /data/tanner/files:/opt/tanner/files
2018-05-26 23:09:31 +00:00
depends_on:
- tanner_api
# - tanner_web
2018-05-26 23:09:31 +00:00
- tanner_phpox
# Snare Service
snare:
build: ./snare
container_name: snare
restart: always
stop_signal: SIGKILL
tty: true
2022-03-13 10:19:08 +00:00
# cpu_count: 1
# cpus: 0.25
2018-05-26 23:09:31 +00:00
networks:
- tanner_local
ports:
2018-08-21 18:30:37 +00:00
- "80:80"
image: "dtagdevsec/snare:2203"
2018-05-26 23:09:31 +00:00
depends_on:
- tanner