services: app: build: context: . image: tstore:latest ports: - "8080:80" env_file: - .env environment: APP_ENV: production APP_DEBUG: "false" APP_URL: http://localhost:8080 LOG_CHANNEL: stderr DB_CONNECTION: mysql DB_HOST: mysql DB_PORT: "3306" DB_DATABASE: tstore DB_USERNAME: tstore DB_PASSWORD: tstore_password SESSION_DRIVER: file CACHE_STORE: file QUEUE_CONNECTION: sync RUN_MIGRATIONS: "1" RUN_ADMIN_SEEDER: "0" RUN_OPTIMIZE: "1" depends_on: mysql: condition: service_healthy volumes: - storage_data:/var/www/html/storage mysql: image: mysql:8.4 restart: unless-stopped environment: MYSQL_DATABASE: tstore MYSQL_USER: tstore MYSQL_PASSWORD: tstore_password MYSQL_ROOT_PASSWORD: root_password command: --default-authentication-plugin=mysql_native_password healthcheck: test: ["CMD", "mysqladmin", "ping", "-h", "127.0.0.1", "-uroot", "-proot_password"] interval: 10s timeout: 5s retries: 10 volumes: - mysql_data:/var/lib/mysql volumes: mysql_data: storage_data: