-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
70 lines (69 loc) · 1.38 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
version: "3"
services:
php:
build:
context: docker/php/
image: geoscope/php:7.3
volumes:
- .:/var/www:cached
depends_on:
- mysql
- mariadb
- sqlserver
- postgres
environment:
MYSQL_DB_HOST: mysql
SQLSRV_DB_HOST: sqlserver
PGSQL_DB_HOST: postgres
MARIADB_DB_HOST: mariadb
stdin_open: true
tty: true
networks:
- geoscope-net
mysql:
image: mysql:5.7
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: test
MYSQL_USER: testuser
MYSQL_PASSWORD: password
expose:
- 3306
networks:
- geoscope-net
mariadb:
image: mariadb:latest
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: test
MYSQL_USER: testuser
MYSQL_PASSWORD: password
expose:
- 3306
networks:
- geoscope-net
sqlserver:
image: mcr.microsoft.com/mssql/server:2019-GA-ubuntu-16.04
environment:
MSSQL_SA_PASSWORD: Password1234!
MSSQL_PID: Developer
ACCEPT_EULA: y
expose:
- 1433
networks:
- geoscope-net
postgres:
build:
context: docker/postgres/
image: geoscope/postgres
environment:
POSTGRES_PASSWORD: password
POSTGRES_DB: test
POSTGRES_USER: test
expose:
- 5432
networks:
- geoscope-net
networks:
geoscope-net:
driver: bridge