-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (36 loc) · 1.13 KB
/
docker-compose.yml
File metadata and controls
36 lines (36 loc) · 1.13 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
version: '3.7'
services:
jsondemodb:
image: mariadb:latest
container_name: jsondemodb
init: true
restart: always
environment:
- "MYSQL_ROOT_PASSWORD=opencms"
- "MYSQL_DATABASE=opencms"
- "MYSQL_USER=opencms"
- "MYSQL_PASSWORD=opencms"
jsondemo:
image: alkacon/opencms-docker:12.0
container_name: jsondemo
init: true
restart: always
depends_on: [ "jsondemodb" ]
links:
- "jsondemodb:mysql"
ports:
- "80:8080"
command: ["/root/wait-for.sh", "mysql:3306", "-t", "30", "--", "/root/opencms-run.sh"]
environment:
- "GZIP=true"
- "TOMCAT_OPTS=-Xmx2g -Xms512m -server -XX:+UseConcMarkSweepGC"
- "ADMIN_PASSWD=admin"
- "DB_HOST=mysql"
- "DB_NAME=opencms"
- "DB_USER=opencms"
- "DB_PASSWD=opencms"
- "OPENCMS_COMPONENTS=workplace,demo"
- "WEBRESOURCES_CACHE_SIZE=200000"
- "DEBUG=true"
- "JSONAPI=true"
- "SERVER_URL=http://localhost"