New config for docker-compose

This commit is contained in:
Araya's Project
2026-06-10 19:49:13 +07:00
parent 36aec6b94d
commit 6200842737
+1 -5
View File
@@ -2,14 +2,12 @@ services:
app:
build: .
ports:
- "8080:80"
- "80:80"
depends_on:
db:
condition: service_healthy
environment:
DB_HOST: db
volumes:
- .:/var/www/html
restart: unless-stopped
db:
@@ -26,8 +24,6 @@ services:
interval: 5s
timeout: 5s
retries: 10
ports:
- "3306:3306" # optional: expose for local tools like TablePlus/DBeaver
volumes:
db_data: