Aggiustamenti docker compose

This commit is contained in:
2026-04-17 12:38:14 +02:00
parent 65888cc865
commit f7cc961858
+11 -4
View File
@@ -4,15 +4,22 @@ services:
ports:
- 8069:80
environment:
DB_HOST: mariadb
DB_HOST: db
DB_USERNAME: techstore
DB_PASSWORD: changeme
DB_DATABASE: TechStore
mariadb:
volumes:
- ./images:/var/www/html/img
restart: unless-stopped
depends_on:
- db
db:
image: mariadb
restart: always
restart: unless-stopped
environment:
MARIADB_ROOT_PASSWORD: changemeplease
MARIADB_USER: techstore
MARIADB_PASSWORD: changeme
MARIADB_DATABASE: TechStore
MARIADB_DATABASE: TechStore
volumes:
- ./db:/var/lib/mysql