summary refs log tree commit diff
path: root/docker-compose.yml
blob: 8da4010ce0d56cee9a57b54b17b89aac9d92aee3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
version: "3.9"

services:
    fosscord:
        container_name: fosscord
        image: fosscord
        restart: on-failure:5
        build: .
        ports:
            - "3001-3005:3001-3005"
        volumes:
            - ./:/srv/fosscord-server/
        environment:
            THREADS: ${THREADS:-1}
            HTTP_PORT: 3001
            WS_PORT: 3002
            CDN_PORT: 3003
            RTC_PORT: 3004
            ADMIN_PORT: 3005

networks:
    default:
        name: fosscord
        driver: bridge