Initial commit: CloudOps infrastructure platform
This commit is contained in:
37
docker-compose/frappe-setup/docker-compose.yml
Normal file
37
docker-compose/frappe-setup/docker-compose.yml
Normal file
@@ -0,0 +1,37 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
mariadb:
|
||||
image: mariadb:10.6
|
||||
container_name: frappe-mariadb
|
||||
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: 123
|
||||
volumes:
|
||||
- mariadb-data:/var/lib/mysql
|
||||
|
||||
redis:
|
||||
image: redis:alpine
|
||||
container_name: frappe-redis
|
||||
command: redis-server --appendonly yes
|
||||
|
||||
frappe:
|
||||
image: frappe/erpnext:latest
|
||||
container_name: frappe-erpnext
|
||||
depends_on:
|
||||
- mariadb
|
||||
- redis
|
||||
ports:
|
||||
- "8080:8000"
|
||||
environment:
|
||||
DB_HOST: mariadb
|
||||
DB_ROOT_PASSWORD: 123
|
||||
REDIS_CACHE: "redis://frappe-redis:6379"
|
||||
REDIS_QUEUE: "redis://frappe-redis:6379"
|
||||
volumes:
|
||||
- frappe-sites:/home/frappe/frappe-bench/sites
|
||||
command: sleep infinity
|
||||
|
||||
volumes:
|
||||
mariadb-data:
|
||||
frappe-sites:
|
||||
Reference in New Issue
Block a user