bot/docker-compose.yml

27 lines
501 B
YAML
Raw Normal View History

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