forked from Mapotempo/geocoder-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
38 lines (33 loc) · 857 Bytes
/
docker-compose.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
31
32
33
34
35
36
37
38
version: '3.7'
# keep command outside anchor because of performance problems
x-default-redis: &default-redis
image: redis:${REDIS_VERSION:-6.2.5-alpine}
volumes:
- ./redis:/data
services:
redis-cache:
<<: *default-redis
hostname: redis-cache
command: redis-server --save ""
redis-count:
<<: *default-redis
hostname: redis-count
command: redis-server --appendonly yes
volumes:
- ./redis-count:/data
addok:
image: registry.mapotempo.com/mapotempo/addok:${ADDOK_VERSION:-1.1.0-rc1-2}
ports:
- 7878:7878
volumes:
- ./addresses:/addresses
environment:
ADDOK_HOST: "redis-server"
ADDOK_ATTRIBUTION: "BANO"
ADDOK_LICENCE: "ODbL"
redis-server:
<<: *default-redis
hostname: redis-server
command: redis-server --save ""
volumes:
- ./data:/data