[ci-skip] New stack file
This commit is contained in:
parent
98e301a7e5
commit
dddfe0f8fd
25
stack.yml
25
stack.yml
|
@ -4,25 +4,34 @@ services:
|
|||
godns:
|
||||
image: registry.git.meow.tf/tyler/godns:latest
|
||||
ports:
|
||||
- 53:53
|
||||
- 53:53
|
||||
- 53:53/udp
|
||||
environment:
|
||||
- REDIS_ADDR=redis:6379
|
||||
- REDIS_HOST=redis
|
||||
- REDIS_PORT=6379
|
||||
- HOSTS_ENABLE=true
|
||||
- REDIS_HOSTS_ENABLE=true
|
||||
networks:
|
||||
- godns
|
||||
- godns
|
||||
joker:
|
||||
image: registry.git.meow.tf/tyler/joker:latest
|
||||
ports:
|
||||
- 8080:8080
|
||||
- 8080:8080
|
||||
environment:
|
||||
- REDIS_ADDR=redis:6379
|
||||
- REDIS_ADDR=redis:6379
|
||||
networks:
|
||||
- godns
|
||||
- godns
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 1
|
||||
placement:
|
||||
constraints: [node.role == manager]
|
||||
redis:
|
||||
image: registry.git.meow.tf/sopine-docker/services/redis:latest
|
||||
volumes:
|
||||
- redis-data:/data
|
||||
- redis-data:/data
|
||||
networks:
|
||||
- godns
|
||||
- godns
|
||||
|
||||
volumes:
|
||||
redis-data:
|
||||
|
|
Loading…
Reference in New Issue