-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
executable file
·56 lines (53 loc) · 1.68 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
version: "3.3"
services:
gophish:
image: gophish/gophish:latest
container_name: gophish
restart: unless-stopped
environment:
- ADMIN_LISTEN_URL=0.0.0.0:3333
- PHISH_LISTEN_URL=0.0.0.0:80
- ADMIN_USE_TLS=false # set to true if you will use a reverse proxy with SSL; otherwise login will break
#- ADMIN_TRUSTED_ORIGINS=gophish.phishdock.com # set to your subdomain name if you will use a reverse proxy with SSL; otherwise login will break
- GOPHISH_INITIAL_ADMIN_PASSWORD=PhishDock!
ports:
- 127.0.0.1:3333:3333
volumes:
- type: bind
source: ./docker-volumes/gophish/gophish.db
target: /opt/gophish/gophish.db
- ./docker-volumes/gophish/endpoint:/opt/gophish/static/endpoint
npm:
image: jc21/nginx-proxy-manager:latest
container_name: nginx-proxy-manager
hostname: nginx-proxy-manager
user: 0:1000
environment:
- TZ=Europe/Berlin
ports:
- 443:443/tcp
- 80:80/tcp
- 127.0.0.1:81:81/tcp
restart: unless-stopped
volumes:
- ./docker-volumes/npm/data:/data
- ./docker-volumes/npm/letsencrypt:/etc/letsencrypt
web:
image: nginx:latest
hostname: nginx
volumes:
- ./docker-volumes/nginx/www-data:/var/www
- ./docker-volumes/nginx/nginx-conf:/etc/nginx/conf.d
- ./docker-volumes/nginx/logs:/var/log/nginx
links:
- php
container_name: nginx
restart: unless-stopped
php:
image: php:8-fpm-alpine
hostname: php
volumes:
- ./docker-volumes/nginx/www-data:/var/www
container_name: php
restart: unless-stopped
working_dir: /var/www