File size: 793 Bytes
d51e142
c993983
 
 
 
 
 
9747010
 
 
d51e142
c993983
 
 
 
 
 
 
572b786
c993983
 
d51e142
5f24dcf
 
 
 
 
 
 
c993983
5f24dcf
 
 
 
 
 
 
 
 
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

services:
  backend:
    build:
      context: ./backend
      dockerfile: Dockerfile
    container_name: heattransplan-backend
    environment:
      - RATE_LIMIT_MAX_REQUESTS=10000
      - RATE_LIMIT_WINDOW_SECONDS=3600
    restart: unless-stopped

  frontend:
    build:
      context: ./frontend
      dockerfile: Dockerfile
    container_name: heattransplan-frontend
    environment:
      - VITE_API_BASE=
    depends_on:
      - backend
    restart: unless-stopped

  caddy:
    image: caddy:2-alpine
    container_name: heattransplan-caddy
    depends_on:
      - frontend
      - backend
    ports:
      - "80:80"
      - "443:443"
    volumes:
      - ./Caddyfile:/etc/caddy/Caddyfile:ro
      - caddy_data:/data
      - caddy_config:/config
volumes:
  caddy_data:
  caddy_config: