-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
44 lines (44 loc) · 1.2 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
version: "3"
services:
postgres:
image: postgis/postgis:15-3.3
#command: "-c log_statement=all"
environment:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
volumes:
- pgdata:/var/lib/postgresql/data
ports:
- 5432:5432
dbmate:
build: db
command: --wait --no-dump-schema up
environment:
DATABASE_URL: "postgres://postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres?sslmode=disable"
postgrest:
image: postgrest/postgrest:v10.1.2
environment:
PGRST_DB_URI: "postgres://postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres"
PGRST_JWT_SECRET: ${JWT_SECRET}
PGRST_DB_ANON_ROLE: web_anon
wizard:
build:
context: wizard
environment:
OPENREFINE_URL: https://openrefine.nina.no
OPENREFINE_PUBLIC_URL: http://openrefine.nina.no
POSTGREST_URL: http://postgrest:3000
POSTGREST_TOKEN: "${WRITER_TOKEN}"
LOGGING: DEBUG
tty: true
stdin_open: true
pgweb:
image: sosedoff/pgweb:latest
environment:
PGWEB_DATABASE_URL: postgres://postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres?sslmode=disable
WAIT_FOR: postgres:5432
nginx:
build: nginx
ports:
- 8000:80
volumes:
pgdata: