-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml.bak
executable file
·67 lines (67 loc) · 1.4 KB
/
docker-compose.yml.bak
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
57
58
59
60
61
62
63
64
65
66
67
services:
nginx:
container_name: nginx
hostname: nginx
image: unlikelysource/nginx_img
volumes:
- ".:/repo"
build:
context: ./docker
dockerfile: Dockerfile.NGINX
working_dir: /repo
command: /tmp/startup.sh
restart: always
networks:
php8cookbook_net:
ipv4_address: 10.10.10.10
mysql:
container_name: mysql
hostname: mysql
image: unlikelysource/mysql_img
volumes:
- ".:/repo"
build:
context: ./docker
dockerfile: Dockerfile.MySQL
working_dir: /repo
command:
restart: always
networks:
php8cookbook_net:
ipv4_address: 10.10.10.20
php8:
container_name: php8
hostname: php8
image: unlikelysource/php8_img
volumes:
- ".:/repo"
build:
context: ./docker
dockerfile: Dockerfile.PHP8
working_dir: /repo
command: /tmp/startup.sh
restart: always
networks:
php8cookbook_net:
ipv4_address: 10.10.10.88
php7:
container_name: php7
hostname: php7
image: unlikelysource/php7_img
volumes:
- ".:/repo"
build:
context: ./docker
dockerfile: Dockerfile.PHP7
working_dir: /repo
command: /tmp/startup.sh
restart: always
networks:
php8cookbook_net:
ipv4_address: 10.10.10.77
networks:
php8cookbook_net:
ipam:
driver: default
config:
- subnet: "10.10.10.0/24"