Files
YYeTsBot/docker-compose.yml

67 lines
1.3 KiB
YAML
Raw Permalink Normal View History

2021-02-10 15:15:38 +08:00
version: '3.1'
services:
redis:
2022-10-26 20:14:39 +08:00
image: redis:7-alpine
2021-02-10 15:15:38 +08:00
restart: always
logging:
driver: none
mongo:
2022-10-26 20:14:39 +08:00
image: mongo:6
2021-02-10 15:15:38 +08:00
restart: always
volumes:
2021-06-12 11:22:57 +08:00
- ./mongo_data/mongodb:/data/db
2023-03-07 19:27:20 +01:00
command: --quiet
2021-02-10 15:15:38 +08:00
logging:
driver: none
2021-08-15 12:28:19 +08:00
ports:
2023-03-07 19:27:20 +01:00
- "127.0.0.1:27017:27017"
2021-08-15 12:28:19 +08:00
2023-03-11 13:32:18 +01:00
meili:
image: getmeili/meilisearch:v1.0.2
restart: always
environment:
- MEILI_HTTP_PAYLOAD_SIZE_LIMIT=1073741824 #1GiB
volumes:
- meilisearch_data:/meili_data
2023-03-07 21:21:40 +01:00
mysql:
image: ubuntu/mysql:8.0-22.04_beta
2023-04-19 18:33:34 +02:00
restart: unless-stopped
2023-03-07 21:21:40 +01:00
environment:
MYSQL_ROOT_PASSWORD: 'root'
logging:
driver: none
command: "--skip-log-bin --default-authentication-plugin=mysql_native_password"
2023-03-07 19:27:20 +01:00
bot:
2021-02-10 15:15:38 +08:00
image: bennythink/yyetsbot
depends_on:
- redis
- mongo
2023-03-07 19:27:20 +01:00
restart: always
2021-02-10 15:15:38 +08:00
env_file:
2021-06-12 11:22:57 +08:00
- env/yyets.env
2023-03-07 19:27:20 +01:00
web:
image: bennythink/yyetsbot
2021-06-12 11:22:57 +08:00
restart: always
2023-03-07 19:27:20 +01:00
env_file:
- env/yyets.env
depends_on:
- mongo
- redis
2023-03-07 21:21:40 +01:00
- mysql
2023-03-07 19:27:20 +01:00
working_dir: /YYeTsBot/yyetsweb/
2024-12-05 18:15:34 +01:00
volumes:
- ./subtitle_data:/YYeTsBot/yyetsweb/subtitle_data
2023-03-07 19:27:20 +01:00
command: [ "python3","server.py","-h=0.0.0.0" ]
2021-06-12 11:22:57 +08:00
ports:
2023-03-07 19:27:20 +01:00
- "127.0.0.1:8888:8888"
2023-03-09 23:04:00 +01:00
- "172.17.0.1:8888:8888"
volumes:
meilisearch_data: