Updated site config
parent
f0236015db
commit
cb63a9a4ea
|
@ -5,21 +5,28 @@ services:
|
||||||
image: 'chewingbever/site:latest'
|
image: 'chewingbever/site:latest'
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
mode: 'global'
|
mode: 'replicated'
|
||||||
|
replicas: 1
|
||||||
|
|
||||||
|
placement:
|
||||||
|
constraints:
|
||||||
|
- 'node.labels.class == admin'
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
- 'traefik.enable=true'
|
- 'traefik.enable=true'
|
||||||
- 'traefik.http.routers.rb-web.rule=Host(`rustybever.be`) || Host(`www.rustybever.be`)'
|
- 'traefik.http.routers.rb-web.rule=Host(`rustybever.be`) || Host(`www.rustybever.be`)'
|
||||||
- 'traefik.http.routers.rb-web.tls=true'
|
- 'traefik.http.routers.rb-web.tls=true'
|
||||||
- 'traefik.http.routers.rb-web.tls.certresolver=letsEncrypt'
|
- 'traefik.http.routers.rb-web.tls.certresolver=letsEncrypt'
|
||||||
- 'traefik.http.services.rb-web.loadbalancer.server.port=80'
|
- 'traefik.http.services.rb-web.loadbalancer.server.port=3000'
|
||||||
update_config:
|
|
||||||
parallelism: 1
|
|
||||||
delay: '5s'
|
|
||||||
order: 'start-first'
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
- 'public'
|
- 'public'
|
||||||
|
volumes:
|
||||||
|
- 'data:/data'
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
public:
|
public:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
data:
|
||||||
|
|
Loading…
Reference in New Issue