File size: 642 Bytes
da45a82
 
 
 
 
 
 
 
 
 
 
1efbab7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
services:
  bugfix-agent:
    build: .
    container_name: autonomous-bug-fixing-agent
    restart: unless-stopped
    ports:
      - "8501:8501"
    env_file:
      - .env
    environment:
      - SANDBOX_BACKEND=local

  caddy-https:
    image: caddy:2-alpine
    container_name: bugfix-agent-caddy
    restart: unless-stopped
    ports:
      - "80:80"
      - "443:443"
    environment:
      - DOMAIN_NAME=${DOMAIN_NAME:-98.89.45.201.nip.io}
    volumes:
      - ./deploy/Caddyfile:/etc/caddy/Caddyfile:ro
      - caddy_data:/data
      - caddy_config:/config
    depends_on:
      - bugfix-agent

volumes:
  caddy_data:
  caddy_config: