Files
writefreely/compose.yml
Mac Chaffee 20d883f772
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
chore: publish 1.0.0+v0.16.0 release
2025-09-11 18:07:27 -04:00

51 lines
1.6 KiB
YAML

---
version: "3.8"
services:
app:
image: git.coopcloud.tech/coop-cloud-chaos-patchs/docker-writefreely:v0.16.0
configs:
- source: config_ini
# Can't put the config file in /data or else the volume mounts conflict
target: ${ASSETS_PATH}/config.ini
- source: writefreely_entrypoint
target: /abra-entrypoint.sh
mode: 0555
entrypoint: /abra-entrypoint.sh
volumes:
- "local-data:${DATA_PATH}"
networks:
- internal
- proxy
deploy:
update_config:
failure_action: rollback
order: start-first
labels:
- "traefik.enable=true"
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=8080"
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
- "traefik.http.middlewares.${STACK_NAME}-redirect.redirectscheme.scheme=https"
- "traefik.http.middlewares.${STACK_NAME}-redirect.redirectscheme.permanent=true"
- "coop-cloud.${STACK_NAME}.version=1.0.0+v0.16.0"
volumes:
local-data:
networks:
proxy:
external: true
internal:
configs:
config_ini:
name: ${STACK_NAME}_config_${CONFIG_INI_VERSION}
file: config.ini.tmpl
template_driver: golang
writefreely_entrypoint:
name: ${STACK_NAME}_entrypoint_${WRITEFREELY_ENTRYPOINT_VERSION}
file: entrypoint.sh