forked from UnownHash/Fletchling
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml.example
33 lines (32 loc) · 991 Bytes
/
docker-compose.yml.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
version: '3.7'
services:
fletchling:
image: ghcr.io/unownhash/fletchling:latest
container_name: fletchling
restart: unless-stopped
volumes:
- ./configs:/fletchling/configs
- ./logs:/fletchling/logs
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "9042:9042"
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:9042/status"]
interval: 60s
timeout: 30s
retries: 3
start_period: 30s
# a container that starts and sleeps. this can be used
# to exec into for the importer. See the 'docker-osm-importer.sh'
# script.
fletchling-tools:
image: ghcr.io/unownhash/fletchling:latest
container_name: fletchling-tools
restart: unless-stopped
command: ./sleep
volumes:
- ./configs:/fletchling/configs
- ./logs:/fletchling/logs
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro