nesting doesn't work has to be flat mapping
This commit is contained in:
parent
fb75a08160
commit
82f6ef569d
|
@ -3,59 +3,39 @@ version: '3.8'
|
|||
services:
|
||||
redis:
|
||||
image: git.nixc.us/colin/haste:production-redis
|
||||
# volumes:
|
||||
# - redis_data:/data
|
||||
volumes:
|
||||
- redis_data:/data
|
||||
networks:
|
||||
- default
|
||||
deploy:
|
||||
# placement:
|
||||
# constraints:
|
||||
# - node.hostname == macmini3
|
||||
placement:
|
||||
constraints:
|
||||
- node.hostname == macmini3
|
||||
replicas: 1
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
|
||||
haste:
|
||||
image: git.nixc.us/colin/haste:production-haste
|
||||
# volumes:
|
||||
# - public_system:/haste/public/system
|
||||
volumes:
|
||||
- public_system:/haste/public/system
|
||||
networks:
|
||||
- traefik
|
||||
- default
|
||||
deploy:
|
||||
# placement:
|
||||
# constraints:
|
||||
# - node.hostname == macmini3
|
||||
# labels:
|
||||
# us.nixc.autodeploy: "true"
|
||||
# traefik.enable: "true"
|
||||
# traefik.http.routers.production-haste_haste.rule: "Host(`haste.nixc.us`)"
|
||||
# traefik.http.routers.production-haste_haste.entrypoints: "websecure"
|
||||
# traefik.http.routers.production-haste_haste.tls: "true"
|
||||
# traefik.http.routers.production-haste_haste.tls.certresolver: "letsencryptresolver"
|
||||
# traefik.http.routers.production-haste_haste.service: "production-haste_haste"
|
||||
# traefik.http.services.production-haste_haste.loadbalancer.server.port: "7777"
|
||||
# traefik.docker.network: "traefik"
|
||||
placement:
|
||||
constraints:
|
||||
- node.hostname == macmini3
|
||||
labels:
|
||||
us.nixc.autodeploy: "true"
|
||||
traefik:
|
||||
enable: "true"
|
||||
docker:
|
||||
network: "traefik"
|
||||
http:
|
||||
routers:
|
||||
production-haste_haste:
|
||||
rule: "Host(`haste.nixc.us`)"
|
||||
entrypoints: "websecure"
|
||||
tls: "true"
|
||||
tls:
|
||||
certresolver: "letsencryptresolver"
|
||||
service: "production-haste_haste"
|
||||
services:
|
||||
production-haste_haste:
|
||||
loadbalancer:
|
||||
server:
|
||||
port: "7777"
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.production-haste_haste.rule: "Host(`haste.nixc.us`)"
|
||||
traefik.http.routers.production-haste_haste.entrypoints: "websecure"
|
||||
traefik.http.routers.production-haste_haste.tls: "true"
|
||||
traefik.http.routers.production-haste_haste.tls.certresolver: "letsencryptresolver"
|
||||
traefik.http.routers.production-haste_haste.service: "production-haste_haste"
|
||||
traefik.http.services.production-haste_haste.loadbalancer.server.port: "7777"
|
||||
traefik.docker.network: "traefik"
|
||||
|
||||
replicas: 1
|
||||
restart_policy:
|
||||
|
|
Loading…
Reference in New Issue