29 lines
No EOL
562 B
YAML
29 lines
No EOL
562 B
YAML
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
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
|
|
networks:
|
|
muffin_ai:
|
|
driver: bridge |