forked from SLIPO-EU/workbench
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml.example
48 lines (36 loc) · 1.08 KB
/
docker-compose.yml.example
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
# vim: set syntax=yaml:
version: "3"
services:
"rpc_server":
image: local/slipo-workbench-rpc-server:0.0.1
build:
context: ./rpc-server/target/docker-build/
environment:
PROFILE: "development"
DB_HOST: "db-server"
DB_NAME: "slipo-workbench"
DB_USERNAME: "slipo"
DB_PASSWORD_FILE: "/etc/secrets/db-password"
external_links:
- 'postgres-1:db-server'
volumes:
- /mnt/nfs-1/app-data/slipo-workbench/:/mnt/nfs-1/app-data/slipo-workbench/:rw
- .secrets/db-password:/etc/secrets/db-password:ro
"webapp":
image: local/slipo-workbench-webapp:0.0.1
build:
context: ./webapp/target/docker-build/
external_links:
- 'postgres-1:db-server'
links:
- 'rpc_server:rpc-server'
environment:
PROFILE: "development"
DB_HOST: "db-server"
DB_NAME: "slipo-workbench"
DB_USERNAME: "slipo"
DB_PASSWORD_FILE: "/etc/secrets/db-password"
RPC_SERVER: "http://rpc-server:8080/"
volumes:
- .secrets/db-password:/etc/secrets/db-password:ro
volumes: {}