forked from vstconsulting/polemarch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
35 lines (34 loc) · 1010 Bytes
/
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
version: '3'
services:
polemarch:
build: .
restart: unless-stopped
environment:
POLEMARCH_DB_TYPE: mysql
POLEMARCH_DB_NAME: project-db
POLEMARCH_DB_USER: project-user
POLEMARCH_DB_PASSWORD: project-pas
POLEMARCH_DB_PORT: 3306
POLEMARCH_DB_HOST: mysql
DB_INIT_CMD: "SET sql_mode='STRICT_TRANS_TABLES', default_storage_engine=INNODB, NAMES 'utf8', CHARACTER SET 'utf8', SESSION collation_connection = 'utf8_unicode_ci'"
CACHE_LOCATION: 'redis://redis:6379/0'
RPC_ENGINE: 'redis://redis:6379/1'
RPC_CONCURRENCY: 15
POLEMARCH_LOG_LEVEL: DEBUG
POLEMARCH_DEBUG: 'true'
TIMEZONE: 'Asia/Vladivostok'
ports:
- "8080:8080"
redis:
image: "redis:alpine"
mysql:
image: "mysql:5.7"
environment:
MYSQL_USER: project-user
MYSQL_PASSWORD: project-pas
MYSQL_DATABASE: project-db
MYSQL_ROOT_PASSWORD: project-root
volumes:
- data-volume:/var/lib/mysql
volumes:
data-volume: