first try
This commit is contained in:
parent
3d70bf3837
commit
d0de4e023f
@ -0,0 +1,4 @@
|
||||
TYPE=grafana
|
||||
|
||||
DOMAIN=grafana.example.com
|
||||
LETS_ENCRYPT_ENV=production
|
30
compose.yml
30
compose.yml
@ -0,0 +1,30 @@
|
||||
---
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
image: grafana/grafana:8.4.3
|
||||
networks:
|
||||
- proxy
|
||||
volumes:
|
||||
- app:/var/lib/grafana
|
||||
deploy:
|
||||
update_config:
|
||||
failure_action: rollback
|
||||
order: start-first
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=proxy"
|
||||
- "traefik.http.services.${STACK_NAME}_web.loadbalancer.server.port=3000"
|
||||
- "traefik.http.routers.${STACK_NAME}_web.rule=Host(`${DOMAIN}`)"
|
||||
- "traefik.http.routers.${STACK_NAME}_web.entrypoints=web-secure"
|
||||
- "traefik.http.routers.${STACK_NAME}_web.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||
- "coop-cloud.${STACK_NAME}.version=0.0.1+8.4.3"
|
||||
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
|
||||
volumes:
|
||||
app:
|
Loading…
Reference in New Issue
Block a user