forked from seibert-media/erpnext-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
74 lines (70 loc) · 1.85 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
68
69
70
71
72
73
74
version: '3.5'
services:
mariadb:
container_name: mariadb
image: "mariadb:10.3.9"
environment:
- MYSQL_ROOT_HOST=%
- MYSQL_ROOT_PASSWORD=123
- MYSQL_USER=1bd3e0294da19198
- MYSQL_DATABASE=1bd3e0294da19198
- MYSQL_PASSWORD=iAlcDxokJhGvpxaK
volumes:
- ./mariadb-conf:/etc/mysql/conf.d
- ./mariadb-initdb:/docker-entrypoint-initdb.d
ports:
- "3307:3306" #mariadb-port
redis-cache:
container_name: redis-cache
image: redis:4.0.11-alpine
volumes:
- ./redis-conf/redis_cache.conf:/etc/conf.d/redis.conf
command: ["redis-server","/etc/conf.d/redis.conf"]
sysctls:
net.core.somaxconn: '511'
redis-queue:
container_name: redis-queue
image: redis:4.0.11-alpine
volumes:
- ./redis-conf/redis_queue.conf:/etc/conf.d/redis.conf
command: ["redis-server","/etc/conf.d/redis.conf"]
sysctls:
net.core.somaxconn: '511'
redis-socketio:
container_name: redis-socketio
image: redis:4.0.11-alpine
volumes:
- ./redis-conf/redis_socketio.conf:/etc/conf.d/redis.conf
command: ["redis-server","/etc/conf.d/redis.conf"]
sysctls:
net.core.somaxconn: '511'
erpnext:
container_name: erpnext
image: quay.io/seibertmedia/erpnext:latest
build:
context: .
ports:
- "8080:8080"
environment:
- ROOT_PASSWORD=123
- ADMIN_PASSWORD=123
- DB_HOST=mariadb
- DB_NAME=1bd3e0294da19198
- DB_PASSWORD=iAlcDxokJhGvpxaK
- ENCRYPTION_KEY=vZUk5YjEeRdQkGWOFecw2TBFIvmxB7gJ7lZwIE3S9Ds=
- WORKER=2
- HOST_NAME=site1.local
extra_hosts:
- "site1.local:127.0.0.1"
stdin_open: true
tty: true
links:
- redis-cache
- redis-queue
- redis-socketio
- mariadb
depends_on:
- mariadb
- redis-cache
- redis-queue
- redis-socketio