generated from coop-cloud/example
Simplify compose.yml and change default entrypoints to entrypoint.sh.
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
This commit is contained in:
parent
043c3287ec
commit
1d7e99c8e5
4
abra.sh
4
abra.sh
|
@ -1,2 +1,2 @@
|
|||
export SERVER_ENTRYPOINT_VERSION=2
|
||||
export BRIDGE_ENTRYPOINT_VERSION=2
|
||||
export SERVER_ENTRYPOINT_VERSION=3
|
||||
export BRIDGE_ENTRYPOINT_VERSION=3
|
||||
|
|
14
compose.yml
14
compose.yml
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue