Update Docker compose configuration

This commit is contained in:
2026-04-24 21:05:03 -03:00
parent 1fc2c0fcc1
commit 58f1261954
+11 -12
View File
@@ -1,13 +1,12 @@
version: '3.8'
services:
db:
image: mariadb:10.11
environment:
MYSQL_ROOT_PASSWORD: root123
MYSQL_DATABASE: hospital
MYSQL_USER: hospital
MYSQL_PASSWORD: hospital123
MYSQL_ROOT_PASSWORD: 1123581321Rt%
MYSQL_DATABASE: hospitalsantojanni
MYSQL_USER: hospitaluser
MYSQL_PASSWORD: 1123581321Rt%
ports:
- "3307:3306"
volumes:
@@ -28,13 +27,13 @@ services:
- "8077:80"
- "4000:4000"
environment:
DB_HOST: db
DB_PORT: "3306"
DB_USER: hospital
DB_PASSWORD: hospital123
DB_NAME: hospital
ADMIN_DNI: "00000000"
ADMIN_PASSWORD: Admin123!
DB_HOST: localhost
DB_PORT: "3307"
DB_USER: hospitaluser
DB_PASSWORD: 1123581321Rt%
DB_NAME: hospitalsantojanni
ADMIN_DNI: "35242633"
ADMIN_PASSWORD: admin123
volumes:
- nginx-data:/usr/share/nginx/html
depends_on: