forked from developmentseed/osm-seed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplanet-dump.yml
30 lines (29 loc) · 974 Bytes
/
planet-dump.yml
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
version: '3'
services:
######################################################
### OSM processor and also use this image as base for other containers
######################################################
osm-processor:
image: osmseed-osm-processor:v1
build:
context: ../images/osm-processor
dockerfile: Dockerfile
######################################################
### Planet replication section
######################################################
planet-dump:
image: osmseed-planet-dump:v1
build:
context: ./images/planet-dump
dockerfile: Dockerfile
volumes:
- ../data/planet-dump-data:/mnt/data
command: >
/bin/bash -c "
echo 'Set cronjob for planet-dump, every 4 minutes';
while :; do echo 'Creating the planet dump file...'; /start.sh; sleep 4m; done;
"
env_file:
- ../envs/.env.db
- ../envs/.env.db-utils
- ../envs/.env.cloudprovider