diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-08-28 19:52:29 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-08-28 20:29:03 +0200 |
commit | 1b9bdac6d2b5c7f7911245947e903a3df3c04145 (patch) | |
tree | b6129fc86c171349803bd828e4e10fd7a710c637 /docker-compose.yml | |
parent | make proper "error" messages (diff) | |
download | cimple-1b9bdac6d2b5c7f7911245947e903a3df3c04145.tar.gz cimple-1b9bdac6d2b5c7f7911245947e903a3df3c04145.zip |
docker: add initial configuration
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' |