Compare commits

...

4 Commits

4 changed files with 20 additions and 3 deletions

View File

@ -25,7 +25,7 @@ kind: pipeline
name: recipe release name: recipe release
steps: steps:
- name: release a new version - name: release a new version
image: decentral1se/drone-abra:latest image: thecoopcloud/drone-abra:latest
settings: settings:
command: recipe traefik release command: recipe traefik release
deploy_key: deploy_key:

View File

@ -51,3 +51,6 @@ LOG_LEVEL=WARN
## Host-mode networking ## Host-mode networking
#COMPOSE_FILE="compose.yml:compose.host.yml" #COMPOSE_FILE="compose.yml:compose.host.yml"
## "Headless mode" (no domain configured)
#COMPOSE_FILE="compose.yml:compose.headless.yml"

14
compose.headless.yml Normal file
View File

@ -0,0 +1,14 @@
---
version: "3.8"
services:
app:
deploy:
update_config:
failure_action: rollback
order: start-first
labels:
- "traefik.enable=true"
- "traefik.http.services.traefik.loadbalancer.server.port=web"
- "traefik.http.routers.traefik.entrypoints=web-secure"
- "traefik.http.routers.traefik.service=api@internal"

View File

@ -1,7 +1,7 @@
version: "3.8" version: "3.8"
services: services:
app: app:
image: "traefik:v2.4.8" image: "traefik:v2.4.9"
# Note(decentral1se): *please do not* add any additional ports here. # Note(decentral1se): *please do not* add any additional ports here.
# Doing so could break new installs with port conflicts. Please use # Doing so could break new installs with port conflicts. Please use
# the usual `compose.$app.yml` approach for any additional ports # the usual `compose.$app.yml` approach for any additional ports
@ -45,7 +45,7 @@ services:
- "traefik.http.routers.traefik.tls.options=default@file" - "traefik.http.routers.traefik.tls.options=default@file"
- "traefik.http.routers.traefik.service=api@internal" - "traefik.http.routers.traefik.service=api@internal"
- "traefik.http.routers.traefik.middlewares=security@file" - "traefik.http.routers.traefik.middlewares=security@file"
- coop-cloud.${STACK_NAME}.app.version=v2.4.8-d7d63b0d - coop-cloud.${STACK_NAME}.app.version=v2.4.9-be23e1f6
networks: networks:
proxy: proxy:
external: true external: true