feat(server): update deploy config for context (#10431)
This commit is contained in:
@@ -14,7 +14,7 @@ services:
|
|||||||
REDIS_SERVER_HOST: redis
|
REDIS_SERVER_HOST: redis
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: postgres:latest
|
image: pgvector/pgvector:pg16
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- postgres-data:/var/lib/postgresql/data
|
- postgres-data:/var/lib/postgresql/data
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
# postgres major version
|
||||||
|
DB_VERSION=16
|
||||||
|
# database credentials
|
||||||
DB_PASSWORD=affine
|
DB_PASSWORD=affine
|
||||||
DB_USERNAME=affine
|
DB_USERNAME=affine
|
||||||
DB_DATABASE_NAME=affine
|
DB_DATABASE_NAME=affine
|
||||||
@@ -3,7 +3,7 @@ services:
|
|||||||
postgres:
|
postgres:
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
image: postgres:16
|
image: postgres:${DB_VERSION:-16}
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
8
.github/workflows/build-test.yml
vendored
8
.github/workflows/build-test.yml
vendored
@@ -432,7 +432,7 @@ jobs:
|
|||||||
REDIS_SERVER_HOST: localhost
|
REDIS_SERVER_HOST: localhost
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres
|
image: pgvector/pgvector:pg16
|
||||||
env:
|
env:
|
||||||
POSTGRES_PASSWORD: affine
|
POSTGRES_PASSWORD: affine
|
||||||
options: >-
|
options: >-
|
||||||
@@ -521,7 +521,7 @@ jobs:
|
|||||||
REDIS_SERVER_HOST: localhost
|
REDIS_SERVER_HOST: localhost
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres
|
image: pgvector/pgvector:pg16
|
||||||
env:
|
env:
|
||||||
POSTGRES_PASSWORD: affine
|
POSTGRES_PASSWORD: affine
|
||||||
options: >-
|
options: >-
|
||||||
@@ -617,7 +617,7 @@ jobs:
|
|||||||
- build-server-native
|
- build-server-native
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres
|
image: pgvector/pgvector:pg16
|
||||||
env:
|
env:
|
||||||
POSTGRES_PASSWORD: affine
|
POSTGRES_PASSWORD: affine
|
||||||
options: >-
|
options: >-
|
||||||
@@ -714,7 +714,7 @@ jobs:
|
|||||||
xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- yarn affine @affine-test/affine-desktop-cloud e2e
|
xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- yarn affine @affine-test/affine-desktop-cloud e2e
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres
|
image: pgvector/pgvector:pg16
|
||||||
env:
|
env:
|
||||||
POSTGRES_PASSWORD: affine
|
POSTGRES_PASSWORD: affine
|
||||||
options: >-
|
options: >-
|
||||||
|
|||||||
4
.github/workflows/copilot-test.yml
vendored
4
.github/workflows/copilot-test.yml
vendored
@@ -40,7 +40,7 @@ jobs:
|
|||||||
REDIS_SERVER_HOST: localhost
|
REDIS_SERVER_HOST: localhost
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres
|
image: pgvector/pgvector:pg16
|
||||||
env:
|
env:
|
||||||
POSTGRES_PASSWORD: affine
|
POSTGRES_PASSWORD: affine
|
||||||
options: >-
|
options: >-
|
||||||
@@ -112,7 +112,7 @@ jobs:
|
|||||||
- build-server-native
|
- build-server-native
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres
|
image: pgvector/pgvector:pg16
|
||||||
env:
|
env:
|
||||||
POSTGRES_PASSWORD: affine
|
POSTGRES_PASSWORD: affine
|
||||||
options: >-
|
options: >-
|
||||||
|
|||||||
Reference in New Issue
Block a user