mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
no need for headless setup now, in theory
This commit is contained in:
parent
8c87e87a37
commit
7b5cbdb525
2 changed files with 4 additions and 4 deletions
|
|
@ -6,7 +6,6 @@ WORKDIR /app
|
|||
RUN mkdir -p data
|
||||
COPY . .
|
||||
RUN deno cache src/server.ts
|
||||
RUN deno task headless:setup
|
||||
RUN apt-get update && apt-get install -y unzip curl
|
||||
RUN deno task soapbox
|
||||
CMD deno task start
|
||||
|
|
|
|||
|
|
@ -31,9 +31,10 @@ wait_keypress
|
|||
ssh -T "root@$GLOBAL_DOMAIN" << EOF
|
||||
dokku apps:create $INSTANCE_NAME
|
||||
dokku postgres:link dittodb $INSTANCE_NAME
|
||||
dokku docker-options:add $INSTANCE_NAME build '--build-arg DITTO_NSEC="$NSEC"'
|
||||
dokku docker-options:add $INSTANCE_NAME build '--build-arg DITTO_UPLOADER_CONFIG="$UPLOADER_CFG"'
|
||||
dokku docker-options:add $INSTANCE_NAME build '--build-arg DITTO_DOMAIN="https://$INSTANCE_DOMAIN"'
|
||||
dokku config:set --no-restart $INSTANCE_NAME DITTO_NSEC="$NSEC"
|
||||
dokku config:set --no-restart $INSTANCE_NAME DITTO_UPLOADER="nostrbuild"
|
||||
dokku config:set --no-restart $INSTANCE_NAME NOSTRBUILD_ENDPOINT="https://nostr.build/api/v2/upload/files"
|
||||
dokku config:set $INSTANCE_NAME LOCAL_DOMAIN="https://$INSTANCE_DOMAIN"
|
||||
EOF
|
||||
|
||||
REMOTE_NAME="tribes-$INSTANCE_NAME"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue