File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,8 +52,10 @@ eru_api_host: api.{{ domain }}
5252# rabbit
5353rabbit_port : 54321
5454
55+ # astral
56+ pg_database : astral
57+
5558# shiva
56- pg_database : shiva
5759pg_user : shiva
5860
5961# swarm
Original file line number Diff line number Diff line change @@ -4,4 +4,4 @@ name: "{{ app_name }}"
44image_builder_docker_namespace : runnable/image-builder
55
66# we need to push this
7- do_not_push= false
7+ do_not_push : false
Original file line number Diff line number Diff line change 11name : " shiva"
2-
32container_image : " registry.runnable.com/runnable/{{ name }}"
43container_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
1012hosted_ports : ["3000"]
Original file line number Diff line number Diff line change 11---
22build_dir : /opts/builds/docker_build/
3+ npm_start_command : start
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments