Simplify compose.yml and change default entrypoints to entrypoint.sh.
continuous-integration/drone/push Build encountered an error Details

This commit is contained in:
Flancian 2023-08-06 17:57:16 +02:00
parent 043c3287ec
commit 1d7e99c8e5
4 changed files with 12 additions and 10 deletions

View File

@ -1,2 +1,2 @@
export SERVER_ENTRYPOINT_VERSION=2
export BRIDGE_ENTRYPOINT_VERSION=2
export SERVER_ENTRYPOINT_VERSION=3
export BRIDGE_ENTRYPOINT_VERSION=3

View File

@ -4,9 +4,10 @@ version: "3.8"
services:
app:
environment:
- AGORA_USER=$AGORA_USER
- AGORA_PATH=$AGORA_PATH
- AGORA_GIT=$AGORA_GIT
- AGORA_USER
- AGORA_PATH
- AGORA_GIT
- AGORA_NAME
image: git.coopcloud.tech/flancian/agora-server:latest
configs:
- source: server_entrypoint
@ -44,9 +45,10 @@ services:
bridge:
environment:
- AGORA_USER=$AGORA_USER
- AGORA_PATH=$AGORA_PATH
- AGORA_GIT=$AGORA_GIT
- AGORA_USER
- AGORA_PATH
- AGORA_GIT
- AGORA_NAME
image: git.coopcloud.tech/flancian/agora-bridge:latest
configs:
- source: bridge_entrypoint

View File

@ -9,7 +9,7 @@ init_root() {
main() {
set -eu
init_root
/home/$AGORA_USER/agora-bridge/run-dev.sh
/home/$AGORA_USER/agora-bridge/entrypoint.sh
}
main

View File

@ -10,7 +10,7 @@ init_root() {
main() {
set -eu
init_root
/home/$AGORA_USER/agora-server/run-localdev.sh
/home/$AGORA_USER/agora-server/entrypoint.sh
# tail -f /dev/null
}