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