5 Commits

4 changed files with 8 additions and 8 deletions
-1
View File
@@ -22,7 +22,6 @@
* `abra app new tellaweb --secrets`
* `abra app config <app-name>`
* `abra app deploy <app-name>`
* Run database migrations: `abra app run <app-name> api /docker-entrypoint.sh npm run typeorm migration:run`
* Create an initial user: `abra app run <app-name> api /docker-entrypoint.sh npm run console users create -a EMAIL`
* Make user an admin: `abra app run <app-name> api /docker-entrypoint.sh npm run console users toggle-role EMAIL`
+1 -1
View File
@@ -1,3 +1,3 @@
# Set any config versions here
# Docs: https://docs.coopcloud.tech/maintainers/handbook/#manage-configs
export ENTRYPOINT_CONF_VERSION=v1
export ENTRYPOINT_CONF_VERSION=v2
+6 -6
View File
@@ -1,7 +1,7 @@
---
services:
app:
image: horizontalorg/tellaweb-admin:beta-1.3.11
image: horizontalorg/tellaweb-admin:beta-1.4.1
networks:
- proxy
environment:
@@ -30,10 +30,10 @@ services:
- "traefik.http.middlewares.${STACK_NAME}-file-headers.headers.customresponseheaders.Accept-Ranges=bytes"
- "traefik.http.middlewares.${STACK_NAME}-file-headers.headers.customresponseheaders.Cache-Control=public, max-age=2592000"
## When you're ready for release, run "abra recipe sync <name>" to set this
- "coop-cloud.${STACK_NAME}.version=0.1.1+beta-1.3.11"
- "coop-cloud.${STACK_NAME}.version=0.2.0+beta-1.4.1"
api:
image: horizontalorg/tellaweb-api:beta-1.3.11
image: horizontalorg/tellaweb-api:beta-1.4.1
networks:
- proxy
- internal
@@ -67,7 +67,7 @@ services:
target: /docker-entrypoint.sh
mode: 0555
entrypoint: /docker-entrypoint.sh
command: ["node", "dist/main"]
command: ["node", "dist/src/main"]
secrets:
- jwt_secret
- db_password
@@ -89,7 +89,7 @@ services:
- "backupbot.backup.path=/usr/src/app/data,/usr/src/app/db"
db:
image: mysql:5.7
image: mysql:5.7.44
environment:
MYSQL_DATABASE: tellaweb
MYSQL_USER: tellaweb
@@ -104,7 +104,7 @@ services:
- db_root_password
cache:
image: redis:8.4.0-alpine
image: redis:8.4.2-alpine
command: sh -c 'redis-server --requirepass "$$(cat /run/secrets/redis_password)"'
networks:
- internal
+1
View File
@@ -9,5 +9,6 @@ set -e
# if not in "env" mode, then execute the original entrypoint and command
if [ ! "$1" = "-e" ]; then
npm run typeorm migration:run
/usr/local/bin/docker-entrypoint.sh "$@"
fi