diff options
Diffstat (limited to '')
-rw-r--r-- | docker-compose.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..d80a5cd --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,25 @@ +version: '3' + +x-cimple: &common + build: . + image: egortensin/cimple + restart: always + +services: + server: + <<: *common + ports: + - 5556 + worker1: + <<: *common + command: ["./cimple-worker", "--host", "server"] + depends_on: [server] + worker2: + <<: *common + command: ["./cimple-worker", "--host", "server"] + depends_on: [server] + client: + <<: *common + command: [] + entrypoint: ["./cimple-client", "--host", "server"] + restart: 'no' |