forked from laksa19/mikhmonv3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
47 lines (46 loc) · 945 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
version: "3"
services:
php_7_4:
image: php:7.4-fpm
container_name: php_7_4
tty: true
working_dir: /var/www
volumes:
- .:/var/www/
networks:
mikhmon_network:
ipv4_address: 172.27.0.5
nginx:
image: nginx:alpine
container_name: nginx
tty: true
volumes:
- .:/var/www/
- ./nginx.conf:/etc/nginx/conf.d/default.conf
ports:
- "8080:80"
networks:
mikhmon_network:
ipv4_address: 172.27.0.6
routeros:
image: evilfreelancer/docker-routeros
container_name: mikrotik_test
restart: unless-stopped
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun
ports:
- "8728:8728"
- "8729:8729"
- "8081:80"
networks:
mikhmon_network:
ipv4_address: 172.27.0.7
networks:
mikhmon_network:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.27.0.0/24