Saliente Estou com o mesmo problema,
segue meu docker com o mesmo problema
version: '2'
services:
novosga:
image: novosga/novosga:2.1
restart: always
depends_on:
- mysqldb
ports:
- "80:80"
environment:
APP_ENV: 'prod'
DATABASE_URL: 'mysql://novosga:MySQL_App_P4ssW0rd@mysqldb:3306/novosga2?charset=utf8mb4&serverVersion=5.7'
NOVOSGA_ADMIN_USERNAME: 'admin'
NOVOSGA_ADMIN_PASSWORD: '123456'
NOVOSGA_ADMIN_FIRSTNAME: 'Administrador'
NOVOSGA_ADMIN_LASTNAME: 'Global'
NOVOSGA_UNITY_NAME: 'Minha unidade'
NOVOSGA_UNITY_CODE: 'U01'
NOVOSGA_NOPRIORITY_NAME: 'Normal'
NOVOSGA_NOPRIORITY_DESCRIPTION: 'Atendimento normal'
NOVOSGA_PRIORITY_NAME: 'Prioridade'
NOVOSGA_PRIORITY_DESCRIPTION: 'Atendimento prioritário'
NOVOSGA_PLACE_NAME: 'Guichê'
TZ: 'America/Sao_Paulo'
APP_LANGUAGE: 'pt_BR'
MERCURE_PUBLIC_URL: http://mercure:3000/.well-known/mercure
MERCURE_CONSUMER_URL: http://127.0.0.1:3000/.well-known/mercure
volumes:
- ./novosga_data:/var/www/html
mercure:
image: novosga/mercure:v0.11
restart: always
ports:
- "3000:3000"
environment:
SERVER_NAME: ":3000"
MERCURE_PUBLISHER_JWT_KEY: "!ChangeMe!"
MERCURE_EXTRA_DIRECTIVES: "anonymous 1; cors_origins *"
mysqldb:
image: mysql:5.7
restart: always
environment:
MYSQL_USER: 'novosga'
MYSQL_DATABASE: 'novosga2'
MYSQL_ROOT_PASSWORD: 'MySQL_r00t_P4ssW0rd'
MYSQL_PASSWORD: 'MySQL_App_P4ssW0rd'
TZ: 'America/Sao_Paulo'
volumes:
- ./mysql_data:/var/lib/mysql