generated from coop-cloud/example
29 lines
674 B
YAML
29 lines
674 B
YAML
---
|
|
version: "3.8"
|
|
|
|
services:
|
|
app:
|
|
image: matrixdotorg/go-neb
|
|
networks:
|
|
- proxy
|
|
environment:
|
|
- "BASE_URL=https://${DOMAIN}/"
|
|
deploy:
|
|
restart_policy:
|
|
condition: on-failure
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=4050"
|
|
- "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}"
|
|
volumes:
|
|
- "go-neb:/data"
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|
|
|
|
volumes:
|
|
go-neb:
|