-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml.bak
61 lines (57 loc) · 1.48 KB
/
docker-compose.yml.bak
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:
neo4j:
image: neo4j:latest
volumes:
#- ./.docker-data/neo4j:/data
- ./data/neo4j:/data
environment:
- NEO4J_AUTH=none
ports:
- "7474:7474"
- "7687:7687"
mysql-lqcharacter:
restart: always
image: mysql
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_USER: test
MYSQL_DATABASE: lqcharacter
MYSQL_PASSWORD: password
#MYSQL_CHARSET: utf8
MYSQL_ROOT_HOST: 'localhost'
volumes:
#- .docker-data/mysql:/var/lib/mysql
- ./data/mysql/:/var/lib/mysql
- ./conf/mysql/:/etc/mysql/conf.d
- ./data/log/:/var/log/mysql
ports:
- "3306:3306"
command: mysqld --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --init-connect='SET NAMES utf8mb4;' --innodb-flush-log-at-trx-commit=0
redis:
image: redis:latest
ports:
- "6379:6379"
nginx-lqcharacter:
restart: always
image: nginx
ports:
- "8080:8080"
volumes:
- ./conf/nginx/lqcharacter_nginx.conf:/etc/nginx/conf.d/lqcharacter_nginx.conf
- /www/lqhansp/media/:/LQCharacter/media
- /www/lqhansp/static/:/LQCharacter/static
volumes_from:
- web_lqcharacter
links:
- web_lqcharacter:web_lqcharacter
web_lqcharacter:
restart: always
build: .
ports:
- "8001:8001"
volumes:
- .:/LQCharacter
links:
- mysql-lqcharacter:mysql_lqcharacter
command: uwsgi -s :8001 -w lqcharacter.wsgi -p 3