-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
67 lines (63 loc) · 2.26 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
version: '3'
services:
liferay:
image: liferay/portal:7.2.0-rc2
restart: always
ports:
- "8383:8080"
- "11311:11311"
environment:
# use .env file? see https://docs.docker.com/compose/env-file/
LIFERAY_JDBC_PERIOD_DEFAULT_PERIOD_DRIVER_UPPERCASEC_LASS_UPPERCASEN_AME: com.mysql.cj.jdbc.Driver
LIFERAY_JDBC_PERIOD_DEFAULT_PERIOD_URL: "jdbc:mysql://db/lportal?characterEncoding=UTF-8&dontTrackOpenResources=true&holdResultsOpenOverStatementClose=true&serverTimezone=GMT&useFastDateParsing=false&useUnicode=true"
LIFERAY_JDBC_PERIOD_DEFAULT_PERIOD_USERNAME: liferay
LIFERAY_JDBC_PERIOD_DEFAULT_PERIOD_PASSWORD: liferaySuperSecretPassword
depends_on:
- db
# Uncomment next 2 lines for demo #2 (restrict locales to German and English)
# environment:
# LIFERAY_LOCALES_PERIOD_ENABLED: de_DE,en_US,hu_HU
# Uncomment next 2 lines for demo #3 (inject scripts, files, plugins on startup)
volumes:
- ./conf/liferay:/etc/liferay
# - "D:\\repos\\liferay-docker-demo\\conf\\liferay:/etc/liferay/mount"
db:
# NOTE: connector conf/liferay/files/tomcat/lib/ext/mysql-connector-java-8.0.16.jar
image: mysql:8.0.16
command: --default-authentication-plugin=mysql_native_password --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
restart: always
environment:
# Use root/exampleRootPassword as user/password credentials
MYSQL_ROOT_PASSWORD: exampleRootPassword
MYSQL_USER: liferay
MYSQL_PASSWORD: liferaySuperSecretPassword
MYSQL_DATABASE: lportal
ports:
# for debugging:
- "3306:3306"
gitlab:
image: 'gitlab/gitlab-ce:latest'
restart: always
hostname: 'dev-at.qualysoft.hu'
environment:
GITLAB_OMNIBUS_CONFIG: |
external_url 'http://dev-at.qualysoft.hu'
# Add any other gitlab.rb configuration here, each on its own line
ports:
- '8181:80'
- '9443:443'
- '9022:22'
volumes:
- './data/gitlab/config:/etc/gitlab'
- './data/gitlab/logs:/var/log/gitlab'
- './data/gitlab/data:/var/opt/gitlab'
jenkins:
image: 'jenkins/jenkins:lts'
restart: always
ports:
- '8282:8080'
- '50000:50000'
volumes:
- 'jenkins_home:/var/jenkins_home'
volumes:
jenkins_home: