Skip to content

Commit 55815d8

Browse files
merge with master
2 parents e0c3c02 + aeb9bbd commit 55815d8

5 files changed

Lines changed: 12 additions & 7 deletions

File tree

ansible/group_vars/all.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,10 @@ eru_api_host: api.{{ domain }}
5252
# rabbit
5353
rabbit_port: 54321
5454

55+
# astral
56+
pg_database: astral
57+
5558
# shiva
56-
pg_database: shiva
5759
pg_user: shiva
5860

5961
# swarm

ansible/group_vars/alpha-image-builder.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ name: "{{ app_name }}"
44
image_builder_docker_namespace: runnable/image-builder
55

66
# we need to push this
7-
do_not_push=false
7+
do_not_push: false

ansible/group_vars/alpha-shiva.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
name: "shiva"
2-
32
container_image: "registry.runnable.com/runnable/{{ name }}"
43
container_tag: "{{ git_branch }}"
5-
repo: "git@github.com:CodeNow/{{ name }}.git"
6-
node_version: "0.10.38"
7-
npm_version: "2.1.18"
4+
repo: "git@github.com:CodeNow/astral.git"
5+
node_version: "4.2.1"
6+
npm_version: "2.8.3"
7+
8+
# Overrides the start command in the builder role
9+
npm_start_command: "run shiva-start"
810

911
# Not actually needed, just allows container-kill-start to work
1012
hosted_ports: ["3000"]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
---
22
build_dir: /opts/builds/docker_build/
3+
npm_start_command: start

ansible/roles/builder/templates/basic_node/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ RUN {{ command }}
3434
{% endif %}
3535

3636
# Define default command.
37-
CMD ulimit -c unlimited && /usr/local/bin/npm start > /var/log/{{ name }}.log 2>&1
37+
CMD ulimit -c unlimited && /usr/local/bin/npm {{ npm_start_command }} > /var/log/{{ name }}.log 2>&1

0 commit comments

Comments
 (0)