Skip to content

Commit 76e453a

Browse files
committed
fix(compose): provisioner joins sl-tenants for tenant-DB storage metrics
1 parent 2605a4f commit 76e453a

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

docker/docker-compose.hetzner.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,15 @@ services:
5656
volumes:
5757
- ${DATA_DIR:-/opt/secondlayer/data}/archive:/data/archive
5858

59+
provisioner:
60+
# Provisioner needs sl-tenants to reach `sl-pg-<slug>` for storage
61+
# measurement; default to reach secondlayer-postgres-1 for the readonly
62+
# role bootstrap. Also used to talk to the Docker daemon via the socket
63+
# passthrough in the base compose file.
64+
networks:
65+
default: {}
66+
sl-tenants:
67+
5968
caddy:
6069
image: caddy:2-alpine
6170
ports:

0 commit comments

Comments
 (0)