-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.dev.yml
108 lines (100 loc) · 2.45 KB
/
docker-compose.dev.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
name: tegonal-cv
services:
postgres:
image: postgres:16
ports:
- "5432:5432"
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: cv-manager
volumes:
- postgres-data:/var/lib/postgresql/data
mongodb:
image: mongo:8.0
ports:
- "27017:27017"
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: root
volumes:
- mongodb-data:/data/db
# pgadmin:
# image: dpage/pgadmin4
# restart: unless-stopped
# environment:
# PGADMIN_DEFAULT_EMAIL: [email protected]
# PGADMIN_DEFAULT_PASSWORD: admin
# ports:
# - "5050:80"
# volumes:
# - pgadmin-data:/var/lib/pgadmin
minio:
image: minio/minio:latest
ports:
- "9000:9000"
- "9001:9001"
environment:
MINIO_ROOT_USER: ${S3_SECRET_ACCESS_KEY}
MINIO_ROOT_PASSWORD: ${S3_ACCESS_KEY_ID}
volumes:
- minio-data:/data
command: server --console-address ":9001" /data
createbucket:
image: minio/mc
depends_on:
- minio
entrypoint: >
/bin/sh -c "
/usr/bin/mc alias set myminio http://minio:9000 ${S3_SECRET_ACCESS_KEY} ${S3_ACCESS_KEY_ID};
/usr/bin/mc mb myminio/${S3_BUCKET};
exit 0;
"
mailpit:
image: axllent/mailpit
restart: unless-stopped
volumes:
- mailpit-data:/data
ports:
- 8025:8025
- 1025:1025
environment:
MP_MAX_MESSAGES: 100
MP_DATABASE: /data/mailpit.db
MP_SMTP_AUTH_ACCEPT_ANY: 1
MP_SMTP_AUTH_ALLOW_INSECURE: 1
gotenberg:
image: gotenberg/gotenberg:8.15
container_name: gotenberg
command:
- "gotenberg"
- "--libreoffice-auto-start=false"
- "--libreoffice-disable-routes=true"
- "--chromium-auto-start=true"
- "--chromium-ignore-certificate-errors=true"
- "--chromium-clear-cache=true"
- "--prometheus-disable-collect=true"
- "--webhook-disable=true"
- "--pdfengines-disable-routes=true"
- "--api-port=3030"
environment:
- "TZ=Europe/Zurich"
ports:
- "3030:3030"
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:3030/health" ]
interval: 30s
timeout: 20s
retries: 3
network_mode: "host"
volumes:
mailpit-data:
driver: local
postgres-data:
driver: local
minio-data:
driver: local
pgadmin-data:
driver: local
mongodb-data:
driver: local