summaryrefslogtreecommitdiffstats
path: root/API/docker-compose.yml
blob: 19d9d3c5fc8c61e40a2d77bbba6e591b37a9c853 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
version: '3'

services:
    smarker:
        build:
            context: ..
            dockerfile: Dockerfile
        image: smarker
    smarker-api:
        build:
            context: .
            dockerfile: Dockerfile
        image: smarker-api
        ports:
            - "6970:6970"
        volumes:
            - /var/run/docker.sock:/var/run/docker.sock
            - ./.uploads/:/API/.uploads/
            - /tmp/:/tmp/
        environment:
            - UPLOADS_DIR=<your full uploads directory path here>
        depends_on:
            - smarker