-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
46 lines (42 loc) · 1 KB
/
docker-compose.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
version: '3'
services:
web-main:
build:
context: .
dockerfile: .docker/web-main/Dockerfile
volumes:
- .env:/root/.env:ro
restart: always
depends_on:
- minio
web-admin:
build:
context: ./admin-ui
dockerfile: ../.docker/web-admin/Dockerfile
volumes:
- .env:/app/.env:ro
restart: always
depends_on:
- web-main
minio:
image: quay.io/minio/minio:RELEASE.2021-10-02T16-31-05Z
command: server --console-address ":9001" /data/minio
expose:
- "9000"
- "9001"
environment:
MINIO_ROOT_USER: "${MINIO_USER}"
MINIO_ROOT_PASSWORD: "${MINIO_PASS}"
volumes:
- ./.docker/minio/:/data/minio
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:9000/minio/health/live" ]
interval: 30s
timeout: 20s
retries: 3
restart: always
nginx:
image: nginx:alpine
volumes:
- .docker/nginx/config/brucifer.conf:/etc/nginx/conf.d/default.conf:ro
restart: always