summary refs log tree commit diff
path: root/docker-compose.yml
blob: 4dc1ee41e5937ad236d3c096c5e0bf9df35a276f (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
25
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