-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
56 lines (51 loc) · 1.4 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: 'uttu'
services:
db:
container_name: '${COMPOSE_PROJECT_NAME}_postgis13'
image: postgis/postgis:13-3.3
platform: linux/amd64
restart: always
environment:
POSTGRES_USER: uttu
POSTGRES_PASSWORD: uttu
POSTGRES_DB: uttu
ports:
- "5432:5432"
volumes:
- postgres-data:/var/lib/postgresql
networks:
- uttu
localstack:
container_name: "${COMPOSE_PROJECT_NAME}_localstack"
profiles: ["aws"]
image: localstack/localstack:3.4.0
ports:
- "4566:4566" # LocalStack Gateway
- "4510-4559:4510-4559" # external services port range
environment:
- DEBUG=${DEBUG-}
- DOCKER_HOST=unix:///var/run/docker.sock
- DISABLE_EVENTS=1
- SERVICES=s3
- AWS_ACCESS_KEY_ID=localstack
- AWS_SECRET_ACCESS_KEY=localstack
- AWS_DEFAULT_REGION=eu-north-1
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
- "${LOCALSTACK_VOLUME_DIR:-./volume}:/var/lib/localstack"
- "./scripts/init-localstack.sh:/etc/localstack/init/ready.d/init-localstack.sh"
networks:
- uttu
osrm-server:
container_name: "${COMPOSE_PROJECT_NAME}_osrm"
profiles: ["routing"]
image: osrm-routing # see README.md for information on how to obtain this image
platform: linux/amd64
ports:
- 5000:5000
networks:
- uttu
volumes:
postgres-data:
networks:
uttu: