forked from eduardolat/pgbackweb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yaml
72 lines (66 loc) · 1.45 KB
/
compose.yaml
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
64
65
66
67
68
69
70
71
72
name: pgbackweb-dev
services:
app:
container_name: pbw_app
build:
context: .
dockerfile: ./docker/Dockerfile.dev
ports:
- "8085:8085"
volumes:
- ./:/app
- pbw_vol_app_ssh:/root/.ssh
- pbw_vol_app_gh:/root/.config/gh
- pbw_vol_app_go_mod_cache:/root/go/pkg/mod
networks:
- pbw_network
depends_on:
- postgres
- adminer
- minio
postgres:
container_name: pbw_postgres
image: postgres:16
environment:
POSTGRES_USER: postgres
POSTGRES_DB: pgbackweb
POSTGRES_PASSWORD: password
volumes:
- pbw_vol_postgres:/var/lib/postgresql/data
ports:
- "5432:5432"
networks:
- pbw_network
adminer:
container_name: pbw_adminer
image: adminer:4.8.1
ports:
- "8080:8080"
environment:
ADMINER_DEFAULT_SERVER: pbw_postgres
ADMINER_DESIGN: "lucas-sandery"
networks:
- pbw_network
minio:
container_name: pbw_minio
image: minio/minio:RELEASE.2024-02-12T21-02-27Z
ports:
- "9000:9000"
- "9090:9090"
environment:
MINIO_ROOT_USER: "root"
MINIO_ROOT_PASSWORD: "password"
volumes:
- pbw_vol_minio:/data
command: minio server /data/minio --console-address ":9090"
networks:
- pbw_network
volumes:
pbw_vol_app_ssh:
pbw_vol_app_gh:
pbw_vol_app_go_mod_cache:
pbw_vol_postgres:
pbw_vol_minio:
networks:
pbw_network:
driver: bridge