aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/doc
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-08-28 22:39:15 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-08-28 22:39:15 +0200
commitc317decd316a7defcda3bb1a6590c170681ce3c3 (patch)
treea3cebbd49197e25ca8e8aa470257aa28d5045ecc /doc
parentserver: notify workers about requeued jobs (diff)
downloadcimple-c317decd316a7defcda3bb1a6590c170681ce3c3.tar.gz
cimple-c317decd316a7defcda3bb1a6590c170681ce3c3.zip
docker: shorten command values
Diffstat (limited to '')
-rw-r--r--docker-compose.yml12
1 files changed, 8 insertions, 4 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index d80a5cd..2fa5367 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,7 +1,10 @@
version: '3'
x-cimple: &common
- build: .
+ build:
+ context: .
+ args:
+ default_host: server
image: egortensin/cimple
restart: always
@@ -12,14 +15,15 @@ services:
- 5556
worker1:
<<: *common
- command: ["./cimple-worker", "--host", "server"]
+ command: ["./cimple-worker"]
depends_on: [server]
worker2:
<<: *common
- command: ["./cimple-worker", "--host", "server"]
+ command: ["./cimple-worker"]
depends_on: [server]
client:
<<: *common
command: []
- entrypoint: ["./cimple-client", "--host", "server"]
+ depends_on: [server]
+ entrypoint: ["./cimple-client"]
restart: 'no'