summary refs log tree commit diff
path: root/docker-compose.yml
blob: 5861e12f900e14558ddeb7488655b586565a4a69 (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"
services:
    db:
        hostname: fosscord_db
        image: mongo:latest
        volumes:
            - ./db:/data/db
        restart: unless-stopped
    api:
        hostname: fosscord_api
        image: fosscord/api
        depends_on:
            - db
        ports:
            - 3001:3001
        env_file: ./.docker/env
    gateway:
        hostname: fosscord_gateway
        image: fosscord/gateway
        depends_on:
            - db
        ports:
            - 3002:3002
        env_file: ./.docker/env