Неудачные варианты docker-compose
UVDesk
https://github.com/uvdesk/community-skeleton/wiki/dockerize-helpdesk-project
version: '3'
services:
uvdesk:
image: camojiet/uvdesk
tty: true
depends_on:
- db
environment:
MYSQL_USER: uvdesk_user
MYSQL_PASSWORD: xxxxxxxxxxxxxxxxx
MYSQL_ROOT_PASSWORD: xxxxxxxxxxxxxxxxx
MYSQL_DATABASE: uvdesk_db
ports:
- 80:80
restart: always
volumes:
- "app_data:/var/www:rw"
db:
command: "--default-authentication-plugin=mysql_native_password"
environment:
- MYSQL_ROOT_PASSWORD=xxxxxxxxxxxxxxxxx
- MYSQL_DATABASE=uvdesk_db
- MYSQL_USER=uvdesk_user
- MYSQL_PASSWORD=xxxxxxxxxxxxxxxxx
image: "mysql:5.7"
restart: always
volumes:
- "db_data:/var/lib/mysql"
volumes:
app_data:
driver: local
db_data:
driver: local