2023-09-23 03:51:15 +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
|
2023-09-23 04:15:24 +00:00
|
|
|
depends_on:
|
|
|
|
- database
|
2023-09-23 06:04:50 +00:00
|
|
|
extra_hosts:
|
|
|
|
- "host.docker.internal:host-gateway"
|
2023-09-23 03:51:15 +00:00
|
|
|
|
|
|
|
networks:
|
|
|
|
muffin_ai:
|
2023-09-23 06:21:21 +00:00
|
|
|
driver: bridge
|