-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
35 lines (35 loc) · 831 Bytes
/
compose.yaml
File metadata and controls
35 lines (35 loc) · 831 Bytes
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
services:
sel_mysql:
image: mysql:lts
restart: always
ports:
- '3307:3306'
volumes:
- ~/apps/sel/mysql:/var/lib/mysql
- ./manifest/sql:/docker-entrypoint-initdb.d
environment:
MYSQL_DATABASE: 'sel'
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
TZ: 'Asia/Taipei'
sel_redis:
image: redis:latest
restart: always
ports:
- '6380:6379'
volumes:
- ~/apps/sel/redis/data:/data
command: redis-server --requirepass ${REDIS_PASSWORD}
sel_backend:
image: sel_backend
restart: always
ports:
- "8001:8001"
env_file:
- .env
depends_on:
- sel_mysql
- sel_redis
volumes:
- ~/apps/sel/backend/logs:/app/logs
- ./.env:/app/.env
- ./manifest/config/config.yaml:/app/manifest/config/config.yaml