Actually try a command for the bootstrap step :)

This commit is contained in:
Flancian 2023-07-11 01:11:10 +02:00
parent 439d80665a
commit 251bcc3330
2 changed files with 5 additions and 5 deletions

View File

@ -16,4 +16,3 @@ AGORA_GIT=https://github.com/flancian/agora
# The local path where the Agora root will be cloned if necessary. Agora Bridge writes here, Agora Server (mostly) reads. # The local path where the Agora root will be cloned if necessary. Agora Bridge writes here, Agora Server (mostly) reads.
AGORA_PATH=/home/$AGORA_USER/agora AGORA_PATH=/home/$AGORA_USER/agora

View File

@ -2,7 +2,7 @@
version: "3.8" version: "3.8"
services: services:
server: app:
environment: environment:
- AGORA_USER=$AGORA_USER - AGORA_USER=$AGORA_USER
- AGORA_PATH=$AGORA_PATH - AGORA_PATH=$AGORA_PATH
@ -59,11 +59,12 @@ $AGORA_PATH
$AGORA_PATH $AGORA_PATH
- AGORA_GIT=$AGORA_GIT - AGORA_GIT=$AGORA_GIT
image: git.coopcloud.tech/flancian/agora-bridge image: git.coopcloud.tech/flancian/agora-bridge
command: |
bash -c
"git clone $AGORA_GIT $AGORA_PATH;
cd $AGORA_PATH && git pull"
volumes: volumes:
- data:$AGORA_PATH - data:$AGORA_PATH
deploy:
restart_policy:
delay: 30s
networks: networks: