-
-
Notifications
You must be signed in to change notification settings - Fork 138
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (46 loc) · 1.15 KB
/
docker-compose.yml
File metadata and controls
46 lines (46 loc) · 1.15 KB
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
services:
kysely_codegen_adminer:
container_name: kysely_codegen_adminer
image: adminer
ports:
- 8081:8080
restart: always
kysely_codegen_libsql:
container_name: kysely_codegen_libsql
image: ghcr.io/libsql/sqld:latest
ports:
- 8080:8080
restart: always
kysely_codegen_mysql:
container_name: kysely_codegen_mysql
environment:
- MYSQL_DATABASE=database
- MYSQL_PASSWORD=password
- MYSQL_ROOT_PASSWORD=password
- MYSQL_USER=user
image: mysql:latest
ports:
- 3306:3306
restart: always
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-u", "user", "-ppassword"]
interval: 2s
timeout: 10s
retries: 10
start_period: 10s
kysely_codegen_postgres:
container_name: kysely_codegen_postgres
environment:
- POSTGRES_DB=database
- POSTGRES_PASSWORD=password
- POSTGRES_USER=user
image: postgres:latest
ports:
- 5433:5432
restart: always
healthcheck:
test: ["CMD-SHELL", "pg_isready -U user -d database"]
interval: 2s
timeout: 5s
retries: 5
start_period: 5s