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= depends_on: - smarker