You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For development purposes I was hoping to have a coordinator, and a worker, running via compose. However, when I try to make a request (http://localhost:8000/jobs for example) I get a socket hang up error.
Dockerfile
FROM ubuntu
WORKDIR /tork
RUN apt update
RUN apt install curl -y
ADD https://github.com/runabol/tork/releases/download/v0.1.22/default.release.tork_0.1.22_linux_amd64.tgz tork.tgz
RUN tar -zxf tork.tgz
RUN chmod +x ./tork
EXPOSE 8000
CMD ["./tork", "run", "coordinator"]
compose.yml
services:
tork:
build: ./ports:
- "8000:8000"
The text was updated successfully, but these errors were encountered:
from alpine
RUN apk update && apk add wget tar
ADD https://github.com/runabol/tork/releases/download/0.1.40/tork_0.1.40_linux_amd64.tgz tork.tgz
RUN tar zxf tork.tgz
ADD config.toml .
ENTRYPOINT ./tork migration || ./tork run coordinator
Is it possible to run Tork with docker compose?
For development purposes I was hoping to have a coordinator, and a worker, running via compose. However, when I try to make a request (
http://localhost:8000/jobs
for example) I get a socket hang up error.Dockerfile
compose.yml
The text was updated successfully, but these errors were encountered: