-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
64 lines (61 loc) · 1.12 KB
/
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
version: "3"
services:
gophish:
build:
context: ./etc/gophish/
container_name: gophish-prod
restart: unless-stopped
ports:
- "3333:3333"
- "8080:8080"
depends_on:
- mysql
networks:
- default
nginx:
build:
context: ./etc/nginx/
container_name: gophish-proxy
restart: unless-stopped
ports:
- "80:80"
- "443:443"
networks:
- default
mysql:
image: mysql:latest
container_name: gophish-db
restart: unless-stopped
ports:
- "3306:3306"
volumes:
- mysql_data:/var/lib/mysql
- ./etc/mysql/:/docker-entrypoint-initdb.d/
- ./etc/mysql/my.cnf:/etc/mysql/my.cnf
networks:
- default
env_file:
- .env
postfix:
build:
context: ./etc/postfix/
container_name: gophish-postfix
restart: unless-stopped
ports:
- "25:25"
networks:
- default
env_file:
- .env
adminer:
image: adminer
container_name: gophish-adminer
restart: unless-stopped
ports:
- 9000:8080
links:
- mysql
volumes:
mysql_data:
networks:
default: