version: '3.1' services: mysql: image: mysql:8 command: --default-authentication-plugin=mysql_native_password restart: always environment: MYSQL_USER: myuser MYSQL_PASSWORD: example MYSQL_DATABASE: mydb MYSQL_ROOT_PASSWORD: example ports: - 3306:3306 postgres: image: postgres:15 restart: always environment: POSTGRES_USER: myuser POSTGRES_PASSWORD: example POSTGRES_DB: mydb ports: - 5432:5432 adminer: image: adminer restart: always ports: - 8080:8080