-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
56 lines (51 loc) · 1.23 KB
/
Copy pathdocker-compose.yml
File metadata and controls
56 lines (51 loc) · 1.23 KB
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.4'
services:
mssql:
image: mcmoe/mssqldocker:latest
ports:
- 21433:1433
environment:
ACCEPT_EULA: Y
MSSQL_DB: test_db
MSSQL_USER: test
SA_PASSWORD: Secret123
MSSQL_PASSWORD: Secret123
mysql:
image: mysql:8
ports:
- 23306:3306
command: |
--character-set-server=utf8mb4
--collation-server=utf8mb4_unicode_ci
environment:
MYSQL_DATABASE: test_db
MYSQL_USER: test
MYSQL_PASSWORD: Secret123
MYSQL_ROOT_PASSWORD: Secret123
pg:
image: postgres:alpine
ports:
- 25432:5432
environment:
POSTGRES_USER: test
POSTGRES_PASSWORD: Secret123
POSTGRES_DB: test_db
ssh-server:
image: linuxserver/openssh-server
ports:
- 2222:2222
environment:
# Allow port forwarding. See:
# https://github.com/linuxserver/docker-mods/tree/openssh-server-ssh-tunnel
DOCKER_MODS: linuxserver/mods:openssh-server-ssh-tunnel
PASSWORD_ACCESS: "true"
USER_NAME: user
USER_PASSWORD: pass
wait-all:
image: jwilder/dockerize
command: |
-wait tcp://mssql:1433
-wait tcp://mysql:3306
-wait tcp://pg:5432
-wait tcp://ssh-server:2222
-timeout 30s