-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
47 lines (44 loc) · 1.16 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
version: "3.4"
services:
harvester:
build:
context: ./harvester
dockerfile: Dockerfile
depends_on:
- postgres
volumes:
- ./harvester:/app
env_file: ./harvester/.env
environment:
# PG_DB: trees
# PG_SERVER: postgres
# PG_PORT: 5432
# PG_USER: fangorn
# PG_PASS: ent
# SUPABASE_PROJECT_ID=
# SUPABASE_SERVICE_ROLE_KEY=
# SUPABASE_BUCKET_NAME=data_assets
# bygiessdenkiez-devoverwriting these here we make sure
# we dont push all the time to mapbox 💵
MAPBOXUSERNAME: "123"
MAPBOXTOKEN: "456"
MAPBOXTILESET: "xyz"
MAPBOXLAYERNAME: "abc"
OUTPUT: "True"
LOGGING: INFO
# By overtwriting the command we can start the container
# move into it (docker exec -it {CONTAINER ID} /bin/sh
# and execute or debug all the scripts manually
command: [ "tail", "-f", "/dev/null" ]
postgres:
container_name: "postgres"
image: "dwd-postgres"
build:
context: ./dev-db
dockerfile: Dockerfile
environment:
POSTGRES_USER: fangorn
POSTGRES_DB: trees
POSTGRES_PASSWORD: ent
ports:
- "5432:5432"