Skip to content

Commit 439b8e5

Browse files
committed
Update tiler db pg config
1 parent edae764 commit 439b8e5

1 file changed

Lines changed: 2 additions & 22 deletions

File tree

hetzner/tiler/tiler.production.yml

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ services:
22
tiler_db:
33
container_name: tiler_db
44
image: ghcr.io/openhistoricalmap/tiler-db:0.0.1-0.dev.git.2166.hc55c4cd
5+
command: postgres -c config_file=/etc/postgresql/postgresql.conf
56
volumes: !overwrite
67
- tiler_pgdata:/var/lib/postgresql/data
7-
- ./config/${PG_CONFIG:-postgresql.production.conf}:/etc/postgresql/postgresql.conf
8+
- ./config/postgresql.production.conf:/etc/postgresql/postgresql.conf
89
ports:
910
- "54329:5432"
1011
env_file:
@@ -132,27 +133,6 @@ services:
132133
- .env.tiler
133134
networks:
134135
- ohm_network
135-
136-
tiler_pipeline_monitor:
137-
container_name: tiler_pipeline_monitor
138-
image: ghcr.io/openhistoricalmap/tiler-pipeline-monitor:0.0.1
139-
ports:
140-
- "8001:8001"
141-
environment:
142-
- CHECK_INTERVAL=300
143-
- REPLICATION_LAG_THRESHOLD=600
144-
- MV_REFRESH_THRESHOLD=600
145-
- IMPOSM_IMPORT_MAX_AGE=900
146-
env_file:
147-
- .env.tiler
148-
restart: always
149-
healthcheck:
150-
test: ["CMD", "curl", "-f", "http://localhost:8001/health"]
151-
interval: 30s
152-
retries: 3
153-
timeout: 10s
154-
networks:
155-
- ohm_network
156136

157137
volumes:
158138
tiler_pgdata:

0 commit comments

Comments
 (0)