services: web: build: . container_name: may restart: unless-stopped ports: - "8234:8080" environment: - EA_API_USERNAME=may # Usuario de EA (ver ea_user_settings.username del admin). Usa tu password real. # EA_API_PASSWORD=yourpassword - EA_API_KEY=t9T6IdUkAVGRoB1Shm8MgLcoIuMvgkWJSFGde4trAUEUIOC4iRtc57TvFO6gXMVr # Recomendado: en el panel EA ve a Settings y configura "API Token", luego usa esta variable (mejor que user/pass) depends_on: - easyappointments # EasyAppointments - gestión de citas, clientes y servicios easyappointments: image: alextselegidis/easyappointments:latest container_name: may-easyappointments restart: unless-stopped ports: - "8888:80" # Panel admin: http://localhost:8888 depends_on: - mysql environment: - BASE_URL=http://localhost:8888 # Cambia en producción - DEBUG_MODE=FALSE - DB_HOST=mysql - DB_NAME=easyappointments - DB_USERNAME=root - DB_PASSWORD=secret # Cambia por contraseña fuerte mysql: image: mysql:8.0 container_name: may-ea-mysql restart: unless-stopped environment: - MYSQL_ROOT_PASSWORD=secret - MYSQL_DATABASE=easyappointments volumes: - ea-mysql-data:/var/lib/mysql volumes: ea-mysql-data: