feat: upgrade to use docker with compose plugin

This commit is contained in:
Fu Zi Xiang 2023-10-06 22:31:25 +08:00
parent 926da912ea
commit 096cfb8d2e
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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}