docker-compose.yml
                        
                             · 1020 B · YAML
                        
                    
                    
                      
                        Raw
                      
                    
                      
                    
                        
                          
                        
                    
                    
                
                
                
            services:
  readeck:
    image: codeberg.org/readeck/readeck:latest
    container_name: readeck
    ports:
      - 8000:8000
    environment:
      # Defines the application log level. Can be error, warning, info, debug.
      - READECK_LOG_LEVEL=info
      # The IP address on which Readeck listens.
      - READECK_SERVER_HOST=0.0.0.0
      # The TCP port on which Readeck listens. Update container port above to match (right of colon).
      - READECK_SERVER_PORT=8000
      # The URL prefix of Readeck.
      - READECK_SERVER_PREFIX=/
      # A list of hostnames allowed in HTTP requests. Required for reverse proxy configuration.
      - READECK_ALLOWED_HOSTS=readeck.example.com
      # Use the 'X-Forwarded-' headers. Required for reverse proxy configuration.
      - READECK_USE_X_FORWARDED=true
    volumes:
      - ./readeck:/readeck
    restart: unless-stopped
    healthcheck:
      test: ["CMD", "/bin/readeck", "healthcheck", "-config", "config.toml"]
      interval: 30s
      timeout: 2s
      retries: 3
                | 1 | services: | 
| 2 | readeck: | 
| 3 | image: codeberg.org/readeck/readeck:latest | 
| 4 | container_name: readeck | 
| 5 | ports: | 
| 6 | - 8000:8000 | 
| 7 | environment: | 
| 8 | # Defines the application log level. Can be error, warning, info, debug. | 
| 9 | - READECK_LOG_LEVEL=info | 
| 10 | # The IP address on which Readeck listens. | 
| 11 | - READECK_SERVER_HOST=0.0.0.0 | 
| 12 | # The TCP port on which Readeck listens. Update container port above to match (right of colon). | 
| 13 | - READECK_SERVER_PORT=8000 | 
| 14 | # The URL prefix of Readeck. | 
| 15 | - READECK_SERVER_PREFIX=/ | 
| 16 | # A list of hostnames allowed in HTTP requests. Required for reverse proxy configuration. | 
| 17 | - READECK_ALLOWED_HOSTS=readeck.example.com | 
| 18 | # Use the 'X-Forwarded-' headers. Required for reverse proxy configuration. | 
| 19 | - READECK_USE_X_FORWARDED=true | 
| 20 | volumes: | 
| 21 | - ./readeck:/readeck | 
| 22 | restart: unless-stopped | 
| 23 | healthcheck: | 
| 24 | test: ["CMD", "/bin/readeck", "healthcheck", "-config", "config.toml"] | 
| 25 | interval: 30s | 
| 26 | timeout: 2s | 
| 27 | retries: 3 |