bot/docker-compose.yml

27 lines
522 B
YAML
Raw Permalink Normal View History

2024-06-27 11:40:36 +00:00
services:
database:
container_name: "muffin_database"
2024-07-22 06:41:59 +00:00
image: mariadb:11.4.2
2024-06-27 11:40:36 +00:00
volumes:
- "./database/:/var/lib/mysql"
- "/etc/localtime:/etc/localtime"
- "./scripts/:/docker-entrypoint-initdb.d/"
ports:
- "1502:3306"
env_file:
- "./docker.env"
2024-06-27 11:40:36 +00:00
networks:
- muffin_ai
discord_bot:
container_name: "maa"
build: "."
networks:
- muffin_ai
depends_on:
- database
env_file:
- "./.env"
2024-06-27 11:40:36 +00:00
networks:
muffin_ai:
driver: bridge