update backend_general ci

This commit is contained in:
appflowy 2021-12-01 23:55:13 +08:00
parent 76c1cd70a5
commit cb802c3162
2 changed files with 5 additions and 3 deletions

View File

@ -4,10 +4,12 @@ services:
build:
context: .
dockerfile: Dockerfile
environment:
APP_ENVIRONMENT: "production"
depends_on:
- db
ports:
- "8000:8000"
- 8000:8000
db:
image: 'postgres:14'
environment:
@ -15,4 +17,4 @@ services:
POSTGRES_DB: "${POSTGRES_DB}"
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}"
ports:
- '${DB_PORT}:5432'
- 5433:5432

View File

@ -18,7 +18,7 @@ if ! [ -x "$(command -v sqlx)" ]; then
exit 1
fi
source ./env.sh
source env.sh
if [[ -z "${SKIP_DOCKER}" ]]
then