forked from Ortus-Solutions/ContentBox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
61 lines (58 loc) · 1.49 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
version: "3"
services:
# Microsoft SQL Server
mssql:
image: microsoft/mssql-server-linux
environment:
ACCEPT_EULA: Y
SA_PASSWORD: "ContentB0x!"
ports:
- "1433:1433"
volumes:
- tests/resources/sql/mssql:/docker-entrypoint-initdb.d
#- ./.engines/mssql/data:/var/opt/mssql/data
- ./.engines/mssql/log:/var/opt/mssql/log
# MySQL Server
mysql:
image: mysql
ports:
- 4306:3306
environment:
MYSQL_ROOT_PASSWORD: "contentbox"
MYSQL_DATABASE: "contentbox"
volumes:
- tests/resources/sql/mysql:/docker-entrypoint-initdb.d
- .engines/mysql/data:/var/lib/mysql
## Oracle
#oracle:
# image: oracle/database:12.2.0.1-ee
# volumes:
# - ./engines/oracle/data:/opt/oracle/oradata # persistent oracle database data.
# environment:
# ORACLE_SID: "contentbox"
# ORACLE_PWD: "contentbox"
# ports:
# - 1521:1521
# - 8080:8080
# - 5500:5500
#
## PostgreSQL
# image: postgres
# volumes:
# .engines/postgres/initdb:/docker-entrypoint-initdb.d
# .engines/postgres/data:/var/lib/postgresql/data
# environment:
# POSTGRES_PASSWORD: "contentbox"
# POSTGRES_USER: "contentbox"
# POSTGRES_DB: "contentbox"
# ports:
# - 5432:5432
#
# Redis Service
# redis:
# image: redis:latest
# ports:
# - 6379:6379
# volumes:
# # We'll mount the 'redis-data' volume into the location redis stores it's data:
# - .engines/redis/data:/var/lib/redis