mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
update backend_general ci
This commit is contained in:
parent
76c1cd70a5
commit
cb802c3162
@ -4,10 +4,12 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
environment:
|
||||||
|
APP_ENVIRONMENT: "production"
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- 8000:8000
|
||||||
db:
|
db:
|
||||||
image: 'postgres:14'
|
image: 'postgres:14'
|
||||||
environment:
|
environment:
|
||||||
@ -15,4 +17,4 @@ services:
|
|||||||
POSTGRES_DB: "${POSTGRES_DB}"
|
POSTGRES_DB: "${POSTGRES_DB}"
|
||||||
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}"
|
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}"
|
||||||
ports:
|
ports:
|
||||||
- '${DB_PORT}:5432'
|
- 5433:5432
|
@ -18,7 +18,7 @@ if ! [ -x "$(command -v sqlx)" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
source ./env.sh
|
source env.sh
|
||||||
|
|
||||||
if [[ -z "${SKIP_DOCKER}" ]]
|
if [[ -z "${SKIP_DOCKER}" ]]
|
||||||
then
|
then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user