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, 5 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 30170a8..cd3e0eb 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 3c1220d..dde952e 100644
--- a/deploy/inventory.yml
+++ b/deploy/inventory.yml
@@ -2,14 +2,16 @@ all:
children:
prod:
hosts:
- pl.saya.today:
+ node_prod:
+ ansible_host: 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:
- pl.saya.today:
+ node_stage:
+ ansible_host: pl.saya.today
saya_today_web_name: sayana-demo
saya_today_web_hostname: sayana-demo
saya_today_web_ipv4_address: 172.16.0.17