-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (40 loc) · 953 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (40 loc) · 953 Bytes
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
version: '3'
services:
frontend:
build:
context: .
dockerfile: .docker/frontend/Dockerfile
restart: always
env_file:
- .env.example
- .env
backend:
build:
context: ./backend
dockerfile: ../.docker/backend/Dockerfile
restart: always
env_file:
- ./backend/.env.example
- ./backend/.env
minio:
image: quay.io/minio/minio:RELEASE.2021-10-02T16-31-05Z
command: server --console-address ":9001" /data/minio
expose:
- "9000"
- "9001"
volumes:
- ./.docker/minio/data:/data/minio
env_file:
- ./backend/.env.example
- ./backend/.env
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:9000/minio/health/live" ]
interval: 30s
timeout: 20s
retries: 3
restart: always
proxy:
image: caddy:alpine
restart: always
volumes:
- "./.docker/proxy/Caddyfile:/etc/caddy/Caddyfile:ro"