-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
51 lines (47 loc) · 1.04 KB
/
docker-compose.yml
File metadata and controls
51 lines (47 loc) · 1.04 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
50
51
services:
frontend:
build:
context: .
dockerfile: ./apps/frontend/Dockerfile
ports:
- "8085:8787"
env_file:
- ./apps/frontend/.dev.vars
environment:
ASSISTANT_API_URL: http://localhost:8000/api
develop:
watch:
- action: rebuild
path: ./apps/frontend/.dev.vars
target: /app/apps/frontend/.dev.vars
assistant-app:
restart: unless-stopped
build:
context: ./apps/assistant
secrets:
- assistant_env
expose:
- "8000"
env_file:
- ./apps/assistant/.env
container_name: assistant-app
caddy:
image: docker.io/library/caddy:latest
container_name: caddy-proxy
restart: always
ports:
- "80:80"
- "443:443"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:Z
- caddy_data:/data:Z
- caddy_config:/config:Z
depends_on:
- assistant-app
secrets:
assistant_env:
# Points to the file containing your env vars
file: ./apps/assistant/.env
volumes:
caddy_data:
caddy_config: