-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
56 lines (53 loc) · 1.27 KB
/
compose.yaml
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
name: echoman
services:
server:
build:
context: ./.docker/go
dockerfile: Dockerfile
container_name: server.local
networks:
echoman:
ipv4_address: 10.0.3.95
ipv6_address: fde4:db8::0395
privileged: true
restart: always
sysctls:
net.ipv6.conf.all.disable_ipv6: "0" # enable
tty: true
volumes:
- type: bind
source: ./server
target: /go/src/github.com/GotoRen/echoman/server
bind:
create_host_path: true
working_dir: /go/src/github.com/GotoRen/echoman/server
client:
build:
context: ./.docker/go
dockerfile: Dockerfile
container_name: client.local
networks:
echoman:
ipv4_address: 10.0.3.96
ipv6_address: fde4:db8::0396
privileged: true
restart: always
sysctls:
net.ipv6.conf.all.disable_ipv6: "0" # enable
tty: true
volumes:
- type: bind
source: ./client
target: /go/src/github.com/GotoRen/echoman/client
bind:
create_host_path: true
working_dir: /go/src/github.com/GotoRen/echoman/client
networks:
echoman:
name: echoman_link
driver: bridge
ipam:
config:
- subnet: 10.0.3.0/22
- subnet: fde4:db8::/8
enable_ipv6: true