File size: 1,332 Bytes
27867f1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# Things to review/change:
#    PUID/PGID change to the user running Cabernet
#    Volumes: All volume paths are to be updated.  The secrets folder
#    contains the private key for encryption and should be protected.
#    example volumes:
#          - ../docker/cabernet/data:/app/data                # App data (Optional)
#          - ../docker/cabernet/plugins_ext:/app/plugins_ext  # Plugins Data (Optional)
#          - ../docker/cabernet/secrets:/app/.cabernet        # Ecryption key data (Optional)
#    This will add a docker folder at the same level as the cabernet source
#    with the external folders for docker

version: '2.4'
services:
    cabernet:
        container_name: cabernet
        image: ghcr.io/cabernetwork/cabernet:latest
        environment:
          - TZ="Etc/UTC"  # Timezone (Optional)
          - PUID=1000     # UserID (Optional)
          - PGID=1000     # GroupID (Optional)
        ports:
          - "6077:6077"    # Web Interface Port
          - "5004:5004"    # Port used to stream
        restart: unless-stopped
        volumes:
          - /path/to/cabernet/data:/app/data                # App data (Optional)
          - /path/to/cabernet/plugins_ext:/app/plugins_ext  # Plugins Data (Optional)
          - /path/to/cabernet/secrets:/app/.cabernet        # Ecryption key data (Optional)