2023-07-09 03:47:50 +03:00
|
|
|
version: '3.1'
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
2023-07-19 06:44:58 +03:00
|
|
|
mysql:
|
2023-07-09 03:47:50 +03:00
|
|
|
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
|
|
|
|
|
2023-07-19 06:44:58 +03:00
|
|
|
postgres:
|
|
|
|
image: postgres:15
|
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
POSTGRES_USER: myuser
|
|
|
|
POSTGRES_PASSWORD: example
|
|
|
|
POSTGRES_DB: mydb
|
|
|
|
ports:
|
|
|
|
- 5432:5432
|
|
|
|
|
2023-07-09 03:47:50 +03:00
|
|
|
adminer:
|
|
|
|
image: adminer
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 8080:8080
|