forked from maxbarsukov/MyFilmList
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (43 loc) · 1.09 KB
/
docker-compose.yml
File metadata and controls
47 lines (43 loc) · 1.09 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
services:
postgres:
env_file: .env
image: postgres:14.2
restart: unless-stopped
environment:
- POSTGRES_DB=$POSTGRES_DB
- POSTGRES_USER=$POSTGRES_USER
- POSTGRES_PASSWORD=$POSTGRES_PASSWORD
ports:
- "${POSTGRES_PORT}:${POSTGRES_PORT}"
networks:
- app-network
volumes:
- database_storage:/var/lib/postgresql/data
mailcatcher:
image: yappabe/mailcatcher
ports:
- "1025:1025"
- "1080:1080"
minio:
env_file: .env
image: minio/minio:RELEASE.2024-11-07T00-52-20Z
command: server /data --console-address ":${MINIO_CONSOLE_PORT}"
environment:
- MINIO_HOST=${MINIO_HOST}
- MINIO_BUCKET_NAME=${MINIO_BUCKET_NAME}
- MINIO_ROOT_USER=${MINIO_ROOT_USER}
- MINIO_ROOT_PASSWORD=${MINIO_ROOT_PASSWORD}
ports:
- "${MINIO_API_PORT}:${MINIO_API_PORT}"
- "${MINIO_CONSOLE_PORT}:${MINIO_CONSOLE_PORT}"
networks:
- app-network
volumes:
- minio_storage:/data
volumes:
minio_storage: { }
database_storage:
driver: local
networks:
app-network:
driver: bridge