feat: upgrade to use docker with compose plugin
This commit is contained in:
parent
926da912ea
commit
096cfb8d2e
|
|
@ -12,7 +12,7 @@ jobs:
|
|||
- name: Set up env vars
|
||||
run: |
|
||||
cp dev.env .env
|
||||
|
||||
|
||||
# log level
|
||||
sed -i 's|RUST_LOG=.*|RUST_LOG=trace|' .env
|
||||
|
||||
|
|
@ -38,4 +38,4 @@ jobs:
|
|||
echo "${{ secrets.APPFLOWY_CLOUD_KEY }}" | base64 --decode > ./nginx/ssl/private_key.key
|
||||
|
||||
- name: Deploy docker-compose
|
||||
run: sudo docker-compose up -d --build --force-recreate
|
||||
run: sudo docker compose up -d --build --force-recreate
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ services:
|
|||
appflowy_cloud:
|
||||
restart: on-failure
|
||||
environment:
|
||||
- RUST_LOG=trace
|
||||
- RUST_LOG=${RUST_LOG:-info}
|
||||
- APP_ENVIRONMENT=production
|
||||
- APP__GOTRUE__JWT_SECRET=${GOTRUE_JWT_SECRET}
|
||||
- APP__GOTRUE__EXT_URL=${API_EXTERNAL_URL}
|
||||
|
|
|
|||
Loading…
Reference in New Issue