summaryrefslogtreecommitdiff
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
-rw-r--r--Dockerfile2
-rw-r--r--deploy/inventory.yml6
2 files changed, 3 insertions, 5 deletions
diff --git a/Dockerfile b/Dockerfile
index cd3e0eb..30170a8 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -19,4 +19,4 @@ COPY --from=build-stage /builddir/config/config*.yaml /app/config/
RUN apk add --no-cache tzdata
-ENTRYPOINT /app/sayana-web -c /app/config/config.${ENVIRONMENT}.yaml
+ENTRYPOINT [ "/app/sayana-web", "-c", "/app/config/config.${ENVIRONMENT}.yaml" ]
diff --git a/deploy/inventory.yml b/deploy/inventory.yml
index dde952e..3c1220d 100644
--- a/deploy/inventory.yml
+++ b/deploy/inventory.yml
@@ -2,16 +2,14 @@ all:
children:
prod:
hosts:
- node_prod:
- ansible_host: pl.saya.today
+ pl.saya.today:
saya_today_web_name: sayana-web
saya_today_web_hostname: sayana-web
saya_today_web_ipv4_address: 172.16.0.18
stage:
hosts:
- node_stage:
- ansible_host: pl.saya.today
+ pl.saya.today:
saya_today_web_name: sayana-demo
saya_today_web_hostname: sayana-demo
saya_today_web_ipv4_address: 172.16.0.17