-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
39 lines (38 loc) · 992 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
version: '3'
services:
db:
build:
context: ./src/db
environment:
POSTGRES_DB: "${POSTGRES_DB}"
POSTGRES_USER: "${POSTGRES_USER}"
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}"
GEOCODER_STATES: "${GEOCODER_STATES}"
GEOCODER_YEAR: "${GEOCODER_YEAR}"
ports:
- "50001:5432"
networks:
uw_postgis_net:
aliases:
- db
api:
build:
context: ./src/server
environment:
POSTGRES_DB: "${POSTGRES_DB}"
POSTGRES_USER: "${POSTGRES_USER}"
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}"
ports:
- "50000:5000"
depends_on:
- db
networks:
uw_postgis_net:
aliases:
- api
networks:
uw_postgis_net:
driver: overlay
external: true
driver_opts:
encrypted: "true"