-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-dev.yml
More file actions
49 lines (48 loc) · 1.15 KB
/
docker-compose-dev.yml
File metadata and controls
49 lines (48 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
47
48
49
services:
db:
container_name: veerify-db
image: postgres:17.5
restart: always
environment:
POSTGRES_USER: veerify
POSTGRES_PASSWORD: veerifypassword
POSTGRES_DB: veerifydb
ports:
- '5432:5432'
volumes:
- db_data:/var/lib/postgresql/data
mail-tester:
container_name: veerify-mail-tester
image: axllent/mailpit:latest
ports:
- '1025:1025'
- '8025:8025'
minio:
container_name: veerify-minio
image: minio/minio:latest
command: server /data --console-address ":9001"
environment:
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: minioadmin
ports:
- '9000:9000'
- '9001:9001'
volumes:
- minio_data:/data
minio-setup:
container_name: veerify-minio-setup
image: minio/mc:latest
depends_on:
- minio
entrypoint: >
/bin/sh -c "
until mc alias set local http://minio:9000 minioadmin minioadmin; do
echo 'waiting for minio...';
sleep 1;
done;
mc mb --ignore-existing local/veerify-assets;
mc anonymous set download local/veerify-assets;
"
volumes:
db_data:
minio_data: