Compare commits
1 commit
5ce3a5a133
...
893a3391a4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
893a3391a4 |
4 changed files with 3 additions and 12 deletions
|
|
@ -166,7 +166,7 @@ environment:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: renovate
|
- name: renovate
|
||||||
image: renovate/renovate:42.43
|
image: renovate/renovate:42.42
|
||||||
environment:
|
environment:
|
||||||
RENOVATE_CONFIG_FILE: "renovate_backend_config.js"
|
RENOVATE_CONFIG_FILE: "renovate_backend_config.js"
|
||||||
RENOVATE_TOKEN:
|
RENOVATE_TOKEN:
|
||||||
|
|
|
||||||
|
|
@ -90,4 +90,4 @@ USER nobody
|
||||||
# above and adding an entrypoint. See https://github.com/krallin/tini for details
|
# above and adding an entrypoint. See https://github.com/krallin/tini for details
|
||||||
# ENTRYPOINT ["/tini", "--"]
|
# ENTRYPOINT ["/tini", "--"]
|
||||||
|
|
||||||
ENTRYPOINT ["/app/bin/docker-entrypoint.sh"]
|
CMD ["/app/bin/server"]
|
||||||
|
|
|
||||||
|
|
@ -255,7 +255,7 @@ For testing the production Docker build locally:
|
||||||
docker compose -f docker-compose.prod.yml up
|
docker compose -f docker-compose.prod.yml up
|
||||||
```
|
```
|
||||||
|
|
||||||
5. **Database migrations run automatically** on app start. For manual migration:
|
5. **Run database migrations:**
|
||||||
```bash
|
```bash
|
||||||
docker compose -f docker-compose.prod.yml exec app /app/bin/mv eval "Mv.Release.migrate"
|
docker compose -f docker-compose.prod.yml exec app /app/bin/mv eval "Mv.Release.migrate"
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
set -e
|
|
||||||
|
|
||||||
echo "==> Running database migrations..."
|
|
||||||
/app/bin/migrate
|
|
||||||
|
|
||||||
echo "==> Starting application..."
|
|
||||||
exec /app/bin/server
|
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue