-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
63 lines (57 loc) · 1.28 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
services:
app:
init: true
restart: unless-stopped
env_file:
- ./backend/.env
build:
dockerfile: docker/Dockerfile.dev
context: .
volumes:
- ./:/code
command: python -u dev.py
ports:
- 127.0.0.1:3000:3000
postgres:
image: postgres:16
restart: unless-stopped
ports:
- "127.0.0.1:5432:5432"
volumes:
- db_data:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: postgrespassword
attach: false
pg_admin:
attach: false
image: dbgate/dbgate
restart: unless-stopped
ports:
- 8081:3000
volumes:
- dbgate-data:/root/.dbgate
environment:
CONNECTIONS: con1
LABEL_con1: Postgres
SERVER_con1: postgres
USER_con1: postgres
PASSWORD_con1: postgrespassword
PORT_con1: 5432
ENGINE_con1: postgres@dbgate-plugin-postgres
logging:
driver: none
minio:
image: minio/minio:latest
container_name: minio
ports:
- "127.0.0.1:9000:9000" # MinIO port
- "127.0.0.1:9001:9001" # MinIO Console port
environment:
MINIO_ROOT_USER: "foobarbaz"
MINIO_ROOT_PASSWORD: "foobarbaz"
volumes:
- ./_s3:/data
command: server /data --console-address ":9001"
volumes:
db_data:
dbgate-data: