-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yaml
57 lines (53 loc) · 1.15 KB
/
docker-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
version: '3.0'
services:
plantngo-db:
container_name: plantngo-db
image: postgres:14.5
env_file:
- ./.env
volumes:
- postgres_data:/var/lib/postgresql/data/
- ./sql/init.sql:/docker-entrypoint-initdb.d/init.sql
ports:
- 5432:5432
plantngo-backend:
container_name: plantngo-backend
image: plantngo-backend:latest
build: .
env_file: ./.env
restart: always
depends_on:
- plantngo-db
- plantngo-s3
volumes:
- .:/opt/app
ports:
- 8080:8080
plantngo-s3:
container_name: plantngo-s3
image: minio/minio
env_file: ./.env
ports:
- "9000:9000"
- "9001:9001"
volumes:
- minio_storage:/data
command: server --console-address ":9001" /data
sonarqube:
image: sonarqube-arm:latest
depends_on:
- plantngo-db
env_file:
- ./.env
volumes:
- sonarqube_data:/opt/sonarqube/data
- sonarqube_extensions:/opt/sonarqube/extensions
- sonarqube_logs:/opt/sonarqube/logs
ports:
- 7000:9000
volumes:
postgres_data:
sonarqube_data:
sonarqube_extensions:
sonarqube_logs:
minio_storage: