forked from stac-utils/pgstac
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
40 lines (40 loc) · 884 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
39
40
services:
pgstac:
container_name: pgstac
image: pgstac
build:
context: .
network: host
dockerfile: docker/pgstac/Dockerfile
target: pgstac
platform: linux/amd64
environment:
- POSTGRES_USER=username
- POSTGRES_PASSWORD=password
- POSTGRES_DB=postgis
- PGUSER=username
- PGPASSWORD=password
- PGDATABASE=postgis
ports:
- "5439:5432"
volumes:
- pgstac-pgdata:/var/lib/postgresql/data
command: postgres
pypgstac:
container_name: pypgstac
image: pypgstac
build:
context: .
network: host
dockerfile: docker/pypgstac/Dockerfile
target: pypgstac
platform: linux/amd64
environment:
- PGHOST=pgstac
- PGUSER=username
- PGPASSWORD=password
- PGDATABASE=postgis
depends_on:
- pgstac
volumes:
pgstac-pgdata: