123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- version: "3.8"
- services:
- mysql:
- image: "mysql/mysql-server:8.0"
- ports:
- - "3306:3306"
- restart: always
- environment:
- MYSQL_DATABASE: dinotest
- MYSQL_ROOT_PASSWORD: mysecretpassword
- MYSQL_ROOT_HOST: '%'
- mysql5:
- image: "mysql/mysql-server:5.7"
- ports:
- - "3305:3306"
- restart: always
- environment:
- MYSQL_DATABASE: dinotest
- MYSQL_ROOT_PASSWORD: mysecretpassword
- MYSQL_ROOT_HOST: '%'
- profiles:
- - mysql
- postgresql:
- image: "postgres:15"
- ports:
- - "5432:5432"
- restart: always
- environment:
- POSTGRES_DB: postgres
- POSTGRES_PASSWORD: mysecretpassword
- POSTGRES_USER: postgres
- postgresql14:
- image: "postgres:14"
- ports:
- - "5414:5432"
- restart: always
- environment:
- POSTGRES_DB: postgres
- POSTGRES_PASSWORD: mysecretpassword
- POSTGRES_USER: postgres
- profiles:
- - postgres
- postgresql13:
- image: "postgres:13"
- ports:
- - "5413:5432"
- restart: always
- environment:
- POSTGRES_DB: postgres
- POSTGRES_PASSWORD: mysecretpassword
- POSTGRES_USER: postgres
- profiles:
- - postgres
- postgresql12:
- image: "postgres:12"
- ports:
- - "5412:5432"
- restart: always
- environment:
- POSTGRES_DB: postgres
- POSTGRES_PASSWORD: mysecretpassword
- POSTGRES_USER: postgres
- profiles:
- - postgres
- postgresql11:
- image: "postgres:11"
- ports:
- - "5411:5432"
- restart: always
- environment:
- POSTGRES_DB: postgres
- POSTGRES_PASSWORD: mysecretpassword
- POSTGRES_USER: postgres
- profiles:
- - postgres
|