-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
36 lines (34 loc) · 1012 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
version: "3.7"
services:
localstack:
container_name: "${LOCALSTACK_DOCKER_NAME-localstack_main}"
image: localstack/localstack
ports:
- "127.0.0.1:4566:4566"
- "127.0.0.1:4510-4559:4510-4559"
- "127.0.0.1:4569:4569"
environment:
- DEBUG=${DEBUG-}
- DOCKER_HOST=unix:///var/run/docker.sock
- AWS_DEFAULT_REGION=eu-central-1
volumes:
# uncomment bellow if you want to cache runtime installations and all config
# - "${LOCALSTACK_VOLUME_DIR:-./volume}:/var/lib/localstack"
- "/var/run/docker.sock:/var/run/docker.sock"
postgis_db:
build:
context: ./docker/postgis
dockerfile: Dockerfile
restart: always
environment:
ALLOW_IP_RANGE: "0.0.0.0/0"
POSTGRES_DB: kvarovi
POSTGRES_USER: dbuser_HERE
POSTGRES_PASSWORD: dbpassword_HERE
ports:
- 5432:5432
volumes:
- postgis_data:/var/lib/postgresql/data
- ./docker/postgis/input_data:/input_data
volumes:
postgis_data: