-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
49 lines (46 loc) · 999 Bytes
/
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
version: "3.9" # optional since v1.27.0
services:
wiki:
build: ./docker/centos
image: fswiki-wiki-server:latest
hostname: fswiki-wiki-server
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- run:/run
ports:
- "5001:5000"
- "10080:80"
networks:
farad_net:
ipv4_address: 10.33.1.1
environment:
- TZ=Asia/Tokyo
- ROOT_PASSWORD=fswiki2021
# mysql:
# build: ./docker/centos
# image: fswiki-db-server:latest
# hostname: fswiki-db-server
# privileged: true
# volumes:
# - /sys/fs/cgroup:/sys/fs/cgroup:ro
# - run:/run
# ports:
# - "3306:3306"
# networks:
# farad_net:
# ipv4_address: 10.33.1.2
# environment:
# - TZ=Asia/Tokyo
# - ROOT_PASSWORD=fswiki2021
volumes:
run:
networks:
farad_net:
driver: bridge
enable_ipv6: false
ipam:
driver: default
config:
- subnet: 10.33.0.0/21
gateway: 10.33.0.1