-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
65 lines (59 loc) · 1.36 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
65
version: '3.1'
services:
phishql-mysql:
image: mysql
command: --default-authentication-plugin=mysql_native_password
container_name: phishql-mysql
restart: always
environment:
MYSQL_USER: wilson
MYSQL_PASSWORD: wilson
MYSQL_ROOT_PASSWORD: kingofprussia
MYSQL_DATABASE: phish
ports:
- 3306:3306
networks:
- backend
phishql-migration:
image: jloom6/phishql-migration
container_name: phishql-migration
command: ["./wait-for-it/wait-for-it.sh", "-t", "0", "phishql-mysql:3306", "--", "./migration.sh"]
networks:
- backend
depends_on:
- phishql-mysql
phishql-api:
image: jloom6/phishql-api
container_name: phishql-api
environment:
PHISHQL_MYSQL_HOST: phishql-mysql
ports:
- 9090:9090
networks:
- backend
depends_on:
- phishql-mysql
phishql-proxy:
image: jloom6/phishql-proxy
container_name: phishql-proxy
environment:
PHISHQL_API_ENDPOINT: phishql-api:9090
ports:
- 8080:8080
networks:
- backend
depends_on:
- phishql-api
phishql-graphql:
image: jloom6/phishql-graphql
container_name: phishql-graphql
environment:
PHISHQL_API_ENDPOINT: phishql-api:9090
ports:
- 8420:8420
networks:
- backend
depends_on:
- phishql-api
networks:
backend: