-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
42 lines (39 loc) · 846 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
version: "3.3"
services:
test-web:
image: sitepilot/autopilot-test:20.04
container_name: autopilot-test
restart: always
privileged: true
cap_add:
- NET_ADMIN
ports:
- "8080:80"
- "8443:443"
- "8083:2083"
volumes:
- "/sys/fs/cgroup:/sys/fs/cgroup:ro"
networks:
testing_net:
ipv4_address: ${TEST_WEB_IP:-172.25.1.1}
test-lb:
image: sitepilot/autopilot-test:20.04
container_name: autopilot-test-lb
restart: always
privileged: true
cap_add:
- NET_ADMIN
ports:
- "9080:80"
- "9443:443"
volumes:
- "/sys/fs/cgroup:/sys/fs/cgroup:ro"
networks:
testing_net:
ipv4_address: ${TEST_LB_IP:-172.25.1.2}
networks:
testing_net:
ipam:
driver: default
config:
- subnet: 172.25.0.0/16