neiam
/cartosnap_ex
public · Issues · Pulls · Labels · Forks · Compare · Actions success · Badges · Packages
⭐
Log in to mark this repository.
deploy dat ass(et)
672fcff · gmorell · 2022-06-24 01:12
Files changed
modified
Dockerfile
+2
−1
@@ -15,7 +15,8 @@ RUN npm install -g npm@6.14.4
| 15 | 15 | RUN cd ${phoenix_subdir}/assets \ |
| 16 | 16 | && npm install \ |
| 17 | 17 | && cd .. \ |
| 18 | − && mix phx.digest | |
| 18 | + && mix phx.digest \ | |
| 19 | + && mix assets.deploy | |
| 19 | 20 | RUN mix release ${app_name} \ |
| 20 | 21 | && mv _build/${build_env}/rel/${app_name} /opt/release \ |
| 21 | 22 | && mv /opt/release/bin/${app_name} /opt/release/bin/start_server |
modified
app.yml
+6
−0
@@ -41,6 +41,12 @@ spec:
| 41 | 41 | - name: PORT |
| 42 | 42 | value: 8080 |
| 43 | 43 | |
| 44 | + - name: SECRET_KEY_BASE | |
| 45 | + valueFrom: | |
| 46 | + secretKeyRef: | |
| 47 | + name: elixir-args | |
| 48 | + key: secret_key_base | |
| 49 | + | |
| 44 | 50 | - name: POSTGRES_HOST |
| 45 | 51 | value: postgres |
| 46 | 52 |
Parents: 05a2070