Co-authored-by: S0dy <msorin@msorin.com> Signed-off-by: Avior <florian.bouillon@delta-wings.net>
27 lines
420 B
YAML
27 lines
420 B
YAML
version: "3"
|
|
services:
|
|
tcgdex:
|
|
build:
|
|
context: ../
|
|
dockerfile: Dockerfile
|
|
networks:
|
|
- network
|
|
depends_on:
|
|
- db
|
|
env_file:
|
|
- .env
|
|
|
|
db:
|
|
image: mysql
|
|
command: --default-authentication-plugin=mysql_native_password
|
|
env_file:
|
|
- .env
|
|
networks:
|
|
- network
|
|
volumes:
|
|
- ./.storage/mysql/:/var/lib/mysql
|
|
|
|
networks:
|
|
network:
|
|
external: false
|