-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
51 lines (46 loc) · 1.19 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
version: '3'
services:
redis-cache:
container_name: redis-cache
image: redis:alpine
redis-queue:
container_name: redis-queue
image: redis:alpine
redis-socketio:
container_name: redis-socketio
image: redis:alpine
frappe:
container_name: frappe-bench
image: frappe/bench:latest
command: sleep infinity
environment:
- SHELL=/bin/bash
volumes:
- ./workspace:/workspace:cached
working_dir: /workspace/development
ports:
- 8000-8005:8000-8005
- 9000-9005:9000-9005
#pgsql:
# container_name: pgsql
# image: postgres:14.0
# environment:
# POSTGRES_PASSWORD: frappe
# volumes:
# - ./pgdata:/var/lib/postgresql/data
mariadb:
container_name: mariadb
image: mariadb:10.9.3
command:
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_unicode_ci
- --skip-character-set-client-handshake
- --skip-innodb-read-only-compressed # Temporary fix for MariaDB 10.6
restart: always
environment:
MYSQL_ROOT_PASSWORD: rootdocker
volumes:
- ./db/:/var/lib/mysql
- ./logs/mysql:/var/log/mysql
ports:
- 3306:3306