-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml.example
57 lines (42 loc) · 1.28 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
49
50
51
52
53
54
55
56
# 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"
extra_hosts:
- 'db-server:${DATABASE_SERVER}'
- 'docker-n1-server:${DOCKER_SERVER_1}'
ports:
- '127.0.0.1:9080:8080'
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/
extra_hosts:
- 'db-server:${DATABASE_SERVER}'
links:
- 'rpc_server:rpc-server'
ports:
- '127.0.0.1:8080:8080'
environment:
PROFILE: "development"
DB_HOST: "db-server"
DB_NAME: "slipo-workbench"
DB_USERNAME: "slipo"
DB_PASSWORD_FILE: "/etc/secrets/db-password"
#RPC_SERVER: "rpc-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
volumes: {}