-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
47 lines (42 loc) · 1.01 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
version: '3.8'
services:
lib80:
image: mnavarro/sqlx:8.0-dev
build:
context: .mnavarro/docker
dockerfile: ./lib/Dockerfile80
target: dev
container_name: mmnavarro.sqlx.lib80.dev
working_dir: /php/lib
volumes:
- .:/php/lib
env_file: .env.test
user: ${UID:-1000}
lib81:
image: mnavarro/sqlx:8.1-dev
build:
context: .mnavarro/docker
dockerfile: ./lib/Dockerfile81
target: dev
container_name: mnavarro.sqlx.lib81.dev
working_dir: /php/lib
env_file: .env.test
volumes:
- .:/php/lib
user: ${UID:-1000}
postgres14:
image: postgres:14-alpine
container_name: mnavarro.sqlx.postgres14.dev
environment:
POSTGRES_USER: sqlx
POSTGRES_PASSWORD: sqlx
POSTGRES_DB: sqlx
mysql57:
image: mysql:5.7-debian
container_name: mnavarro.sqlx.mysql57.dev
environment:
MYSQL_ROOT_PASSWORD: sqlx
MYSQL_ROOT_HOST: '%'
MYSQL_DATABASE: sqlx
MYSQL_USER: sqlx
MYSQL_PASSWORD: sqlx