forked from JetBrains/phpstorm-docker-images
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
104 lines (104 loc) · 2.6 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
version: '3.2'
services:
sftp:
build: ./sftp-server
ports:
- "3022:22"
volumes:
- /tmp:/home/jetbrains
- ~/.ssh/id_rsa.pub:/home/jetbrains/.ssh/keys/id_rsa.pub:ro
command: jetbrains:jetbrains:1001
sftp-no-password:
build: ./sftp-server-no-password
ports:
- "4022:22"
volumes:
- /tmp:/home/jetbrains/upload
command: jetbrains:1001
sftp-ki: # Similar to sftp but only keyboard-interactive auth is allowed
build: ./sftp-server-ki
ports:
- "3122:22"
volumes:
- /tmp:/home/jetbrains
command: jetbrains:jetbrains:1001
webserver:
build: ./php-80-apache-xdebug-30
ports:
- "6080:80"
volumes:
- ./html:/var/www/html
environment:
XDEBUG_CONFIG: "client_host=host.docker.internal"
mysql:
build: ./mysql
ports:
- "33306:3306"
volumes:
- ./data:/var/lib/mysql
ftp:
build: ./ftp
volumes:
- /tmp:/home/virtual/jetbrains/share
environment:
PASV_ADDRESS: 192.168.2.154
VSFTPD_USER_1: "jetbrains:jetbrains::"
ports:
- "21:21"
- "30000-30009:30000-30009"
ftps:
build: ./ftps
volumes:
- /tmp:/home/virtual/jetbrains/share
environment:
#change the line below with your IP address
PASV_ADDRESS: 192.168.2.154
VSFTPD_USER_1: "jetbrains:jetbrains::"
PASV_MIN_PORT: 30010
PASV_MAX_PORT: 30019
ports:
- "23:21"
- "30010-30019:30010-30019"
pure-ftpd:
build: ./pure-ftpd
volumes:
- /tmp:/home/ftpusers/jetbrains/
ports:
- "24:21"
- "30020-30029:30020-30029"
environment:
#change the line below with your IP address
PASV_ADDRESS: 192.168.2.154
pro-ftpd:
build:
context: ./proftpd
args:
#change the line below with your IP address
PASV_ADDRESS: 172.27.208.148
USER_ID: 1000
PASSWD: jetbrains
volumes:
- /tmp:/home/FTP-shared
ports:
- "25:21"
- "30040-30049:30040-30049"
extra_hosts:
- "moby:127.0.0.1"
squid:
build: ./squid
container_name: squid
hostname: squid
ports:
# When connecting to services, use the real host:port, not the mapped ones
# e.g. webserver:80, not localhost:6080
- "6128:3128" # HTTP proxy with no authentication
- "6129:3129" # HTTP proxy with authentication, jetbrains:jetbrains
command: "squid -N -d1"
webdav:
build: ./webdav
container_name: webdav
hostname: webdav
volumes:
- .:/var/www/webdav
ports:
- "6180:80" # jetbrains@localhost:6080/webdav