Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
2020-05-26 00:17:30 +02:00
parent 21eba2d473
commit 54d8217133
36 changed files with 3128 additions and 2654 deletions

View File

@ -0,0 +1,18 @@
version: "3"
services:
tcgdex:
volumes:
- ../:/home/tcgdex
command: "yarn dev"
tty: true
ports:
- "3000:3000"
phpmyadmin:
image: phpmyadmin/phpmyadmin
ports:
- 8081:80
networks:
- network
env_file:
- .env
- .env.local

View File

@ -0,0 +1,6 @@
version: "3"
services:
tcgdex:
restart: "always"
ports:
- "127.0.0.1:4567:3000"

View File

@ -0,0 +1,5 @@
version: "3"
services:
tcgdex:
ports:
- "3000:3000"

28
docker/docker-compose.yml Normal file
View File

@ -0,0 +1,28 @@
version: "3"
services:
tcgdex:
build:
context: ../
dockerfile: Dockerfile
networks:
- network
depends_on:
- db
env_file:
- .env
- .env.local
db:
image: mysql
command: --default-authentication-plugin=mysql_native_password
env_file:
- .env
- .env.local
networks:
- network
volumes:
- ./.storage/mysql/:/var/lib/mysql
networks:
network:
external: false