-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose-databases.yml
executable file
·61 lines (56 loc) · 1.23 KB
/
docker-compose-databases.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
version: '3'
services:
mysqlsrv:
container_name: mysqlsrv
image: mysql:5.7
environment:
- TZ=America/Sao_Paulo
- MYSQL_ROOT_PASSWORD=123456
- MYSQL_DATABASE=test
- MYSQL_USER=test
- MYSQL_PASSWORD=TestPassWord1234
ports:
- "3306:3306"
network_mode: "bridge"
sqlserversrv:
container_name: sqlserversrv
image: microsoft/mssql-server-linux:latest
environment:
- ACCEPT_EULA=Y
- SA_PASSWORD=TestPassWord1234
- MSSQL_PID=Express
ports:
- "1433:1433"
network_mode: "bridge"
postgresqlsrv:
container_name: postgresqlsrv
image: postgres:latest
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=TestPassWord1234
- POSTGRES_DB=test
ports:
- "5432:5432"
network_mode: "bridge"
mongosrv:
container_name: mongosrv
image: mongo:latest
ports:
- "27017:27017"
network_mode: "bridge"
app:
container_name: app
image: jgcl88/alpine-nginx-php
depends_on:
- mysqlsrv
- sqlserversrv
- postgresqlsrv
- mongosrv
links:
- mysqlsrv
- sqlserversrv
- postgresqlsrv
- mongosrv
ports:
- "80:80"
network_mode: "bridge"