-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
67 lines (62 loc) · 1.54 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
version: '2'
services:
# RefGPEC frontend (ReactJS app)
refgpec-front:
container_name: refgpec-front
build:
context: ./refgpec-front
args:
- http_proxy
- https_proxy
image: inistcnrs/refgpec-front:2.8.0
links:
- refgpec-api
ports:
- 8081:80
# RefGPEC API (PostgREST API)
refgpec-api:
container_name: refgpec-api
build:
context: ./refgpec-api
args:
- http_proxy
- https_proxy
image: inistcnrs/refgpec-api:2.8.0
links:
- refgpec-db:db
environment:
PGRST_DB_URI: postgres://refgpec:gpecsecret@refgpec-db:5432/refgpec
PGRST_DB_SCHEMA: public
PGRST_DB_ANON_ROLE: web_anon
PGRST_SERVER_PROXY_URI: http://127.0.0.1:3000/api/
# RefGPEC database (PostgreSQL database)
refgpec-db:
container_name: refgpec-db
build:
context: ./refgpec-db
args:
- http_proxy
- https_proxy
image: inistcnrs/refgpec-db:2.8.0
volumes:
- ./refgpec-db/data/postgres:/ezmaster-data/postgresql-data
environment:
POSTGRES_DB: "refgpec"
POSTGRES_USER: "refgpec"
POSTGRES_PASSWORD: "gpecsecret"
# RefGPEC database admin backoffice (pgadmin4)
refgpec-db-admin:
container_name: refgpec-db-admin
build:
context: ./refgpec-db-admin
args:
- http_proxy
- https_proxy
image: inistcnrs/refgpec-db-admin:1.1.0
environment:
DEFAULT_USER: "[email protected]"
DEFAULT_PASSWORD: "gpecsecret"
ports:
- 5050:5050
links:
- refgpec-db