doitandbedone / ispyagentdvr-docker

GNU General Public License v3.0
116 stars 44 forks source link

Add docker-compose file #602

Open weidi opened 1 year ago

weidi commented 1 year ago

Adding a docker-compose.yml makes it way easier to run and maintain agentDVR container

psynoxious commented 1 year ago

my docker-compose for portainer:


services:
    ispyagentdvr:
        ports:
            - '8090:8090'
            - '3478:3478/udp'
            - '50000-50010:50000-50010/udp'
        volumes:
            - '/appdata/ispyagentdvr/config/:/agent/Media/XML/'
            - '/appdata/ispyagentdvr/media/:/agent/Media/WebServerRoot/Media/'
            - '/appdata/ispyagentdvr/commands:/agent/Commands/'
            - '/etc/timezone:/etc/timezone:ro'
            - '/etc/localtime:/etc/localtime:ro'
        environment:
            - 'TZ=Europe/Bratislava'
        container_name: iSpyAgentDVR
        image: 'doitandbedone/ispyagentdvr:latest'
    ai-server:
        container_name: CodeProject.AI
        ports:
            - '32168:32168'
        volumes:
            - '/etc/codeproject/ai:/etc/codeproject/ai'
            - '/opt/codeproject/ai:/app/modules'
            - '/etc/timezone:/etc/timezone:ro'
            - '/etc/localtime:/etc/localtime:ro'
        environment:
            - 'TZ=Europe/Bratislava'
        depends_on:
            - ispyagentdvr
        image: 'codeproject/ai-server:latest'