-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
46 lines (46 loc) · 1.19 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
version: '3.7'
services:
nodeabc:
build:
context: ./nodeabc
dockerfile: Dockerfile
args:
SSH_ABC_USER: ${SSH_ABC_USER}
SSH_ABC_PASS: ${SSH_ABC_PASS}
container_name: nodeabc
hostname: nodeabc
networks:
app_net:
ipv4_address: 172.16.238.11
nodexyz:
build:
context: ./nodexyz
dockerfile: Dockerfile
args:
SSH_XYZ_USER: ${SSH_XYZ_USER}
SSH_XYZ_PASS: ${SSH_XYZ_PASS}
container_name: nodexyz
hostname: nodexyz
networks:
app_net:
ipv4_address: 172.16.238.12
alphaserver:
build:
context: ./alphaserver
dockerfile: Dockerfile
args:
SSH_SERVER_USER: ${SSH_SERVER_USER}
SSH_SERVER_PASS: ${SSH_SERVER_PASS}
container_name: alphaserver
hostname: alphaserver
ports:
- "5000:5000"
networks:
app_net:
ipv4_address: 172.16.238.10
networks:
app_net:
ipam:
driver: default
config:
- subnet: "172.16.238.0/24"