This commit is contained in:
2024-09-20 14:31:19 +02:00
parent 466981457d
commit bc39f6b6d6
10 changed files with 129 additions and 65 deletions

View File

@ -1,4 +1,16 @@
services:
app:
image: labyrint
build:
context: .
restart: on-failure:3
ports:
- 8080:8080
volumes:
- .:/usr/src/app
depends_on:
db:
condition: service_healthy
adminer:
image: adminer:latest
restart: always
@ -11,8 +23,6 @@ services:
restart: always
environment:
MYSQL_ROOT_PASSWORD: password
ports:
- 8081:3306
volumes:
- ./.mysql:/var/lib/mysql
healthcheck: