Attempt at drone deploy
Some checks reported errors
Some checks reported errors
This commit is contained in:
@ -1,9 +1,37 @@
|
||||
# no version needed since 2020
|
||||
---
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
jekyll:
|
||||
app:
|
||||
image: git.autonomic.zone/autonomic-cooperative/kcl-site:latest
|
||||
networks:
|
||||
- proxy
|
||||
volumes:
|
||||
- .:/site
|
||||
ports:
|
||||
- '4000:4000'
|
||||
- html_content:/usr/share/nginx/html
|
||||
configs:
|
||||
- source: nginx_conf
|
||||
target: /etc/nginx/nginx.conf
|
||||
deploy:
|
||||
update_config:
|
||||
failure_action: rollback
|
||||
order: start-first
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.services.${STACK_NAME}-jekyll.loadbalancer.server.port=80"
|
||||
- "traefik.http.routers.${STACK_NAME}-jekyll.rule=Host(`${DOMAIN}`)"
|
||||
- "traefik.http.routers.${STACK_NAME}-jekyll.entrypoints=web-secure"
|
||||
- "traefik.http.routers.${STACK_NAME}-jekyll.tls.certresolver=production"
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
internal:
|
||||
|
||||
volumes:
|
||||
html_content:
|
||||
|
||||
configs:
|
||||
nginx_conf:
|
||||
name: ${STACK_NAME}_nginx_conf_${NGINX_CONF_VERSION}
|
||||
file: nginx.conf
|
||||
template_driver: golang
|
||||
|
||||
Reference in New Issue
Block a user