-
Notifications
You must be signed in to change notification settings - Fork 45
/
docker-compose.yml
51 lines (51 loc) · 1.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
version: '3.7'
services:
mysql:
# Don't use latest (MySQL Server 8.0) as we cannot currently authenticate to it
image: mysql:5.7
#image: container-registry.oracle.com/mysql/community-server:8.0
#image: mariadb:latest
restart: always
ports: ['3306:3306', '33060:33060']
ulimits:
nofile:
soft: "1024"
hard: "10240"
environment:
- MYSQL_ROOT_PASSWORD=f48dfhw3Hd!Asah7i2aZ
- MYSQL_DATABASE=testdb
- MYSQL_USER=testuser
- MYSQL_PASSWORD=passw0rd
postgres:
image: postgres:latest
restart: always
ports: ['5432:5432']
environment:
- POSTGRES_DB=testdb
- POSTGRES_USER=testuser
- POSTGRES_PASSWORD=passw0rd
mssql:
image: mcr.microsoft.com/mssql/server:2022-latest
#image: mcr.microsoft.com/mssql/server:2019-latest
#image: mcr.microsoft.com/mssql/server:2017-latest
restart: always
ports: ['1433:1433']
environment:
- MSSQL_PID=Developer
- SA_PASSWORD=MSbbk4k77JKH88g54
- ACCEPT_EULA=Y
# You'll need to have a login for https://container-registry.oracle.com and have
# accepted their terms & conditions. Then prior to running 'docker-compose up -d' you
# will need to run 'docker login container-registry.oracle.com' to pull the Oracle Database image.
# Also, Oracle takes considerably more resources.
# oracle:
# image: container-registry.oracle.com/database/standard:12.1.0.2
# ports:
# - 1521:1521
# - 8080:8080
# - 5500:5500
# environment:
# - DB_SID=testuser
# - DB_PASSWD=passw0rd
# - USERNAME=testuser
# - PASSWORD=passw0rd