-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (38 loc) · 880 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
38 lines (38 loc) · 880 Bytes
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
version: '3'
services:
bot:
build: ./bot
ports:
- "127.0.0.1:12314:9000"
networks:
testing_net:
ipv4_address: 172.28.1.10
extra_hosts:
- "jail.2019.rctf.rois.io:172.28.1.100"
web:
build: ./website
ports:
- "12315:80"
networks:
testing_net:
ipv4_address: 172.28.1.100
extra_hosts:
- "mysql:172.28.1.120"
mysql:
image: mysql:8.0.15
command: --default-authentication-plugin=mysql_native_password
restart: always
volumes:
- ./import.sql:/docker-entrypoint-initdb.d/dump.sql
environment:
MYSQL_ROOT_PASSWORD: justAUselessPassword
MYSQL_DATABASE: jail-password
networks:
testing_net:
ipv4_address: 172.28.1.120
networks:
testing_net:
ipam:
driver: default
config:
- subnet: 172.28.0.0/16