forked from haxqer/confluence
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
41 lines (39 loc) · 1.11 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
version: '3.4'
services:
confluence:
image: axlroden/confluence
container_name: confluence-srv
environment:
- TZ='Europe/Copenhagen'
#- JVM_MINIMUM_MEMORY=1g
#- JVM_MAXIMUM_MEMORY=12g
#- JVM_CODE_CACHE_ARGS='-XX:InitialCodeCacheSize=1g -XX:ReservedCodeCacheSize=8g'
depends_on:
- mysql
ports:
- "8090:8090"
volumes:
- ./confluence:/var/confluence
restart: always
networks:
- network-bridge
mysql:
image: mysql:8
container_name: mysql-confluence
environment:
- TZ='Europe/Copenhagen'
- MYSQL_DATABASE=confluence
- MYSQL_ROOT_PASSWORD=123456
- MYSQL_USER=confluence
- MYSQL_PASSWORD=123123
cap_add:
- SYS_NICE # CAP_SYS_NICE
command: ['mysqld', '--character-set-server=utf8', '--collation-server=utf8_bin', '--transaction-isolation=READ-COMMITTED', '--innodb_log_file_size=256M', '--max_allowed_packet=256M', '--log_bin_trust_function_creators=1']
volumes:
- ./mysql:/var/lib/mysql
restart: always
networks:
- network-bridge
networks:
network-bridge:
driver: bridge