mirror of
https://github.com/arch3rPro/1Panel-Appstore.git
synced 2026-05-07 00:32:11 +08:00
feat: update affine v0.24.0
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
affine:
|
affine:
|
||||||
image: ghcr.io/toeverything/affine:0.23.3
|
image: ghcr.io/toeverything/affine:v0.24.0
|
||||||
container_name: ${CONTAINER_NAME}
|
container_name: ${CONTAINER_NAME}
|
||||||
ports:
|
ports:
|
||||||
- ${PANEL_APP_PORT_HTTP}:3010
|
- ${PANEL_APP_PORT_HTTP}:3010
|
||||||
@@ -12,7 +12,6 @@ services:
|
|||||||
affine_migration:
|
affine_migration:
|
||||||
condition: service_completed_successfully
|
condition: service_completed_successfully
|
||||||
volumes:
|
volumes:
|
||||||
# custom configurations
|
|
||||||
- ${UPLOAD_LOCATION}:/root/.affine/storage
|
- ${UPLOAD_LOCATION}:/root/.affine/storage
|
||||||
- ${CONFIG_LOCATION}:/root/.affine/config
|
- ${CONFIG_LOCATION}:/root/.affine/config
|
||||||
environment:
|
environment:
|
||||||
@@ -28,10 +27,12 @@ services:
|
|||||||
image: ghcr.io/toeverything/affine:0.23.3
|
image: ghcr.io/toeverything/affine:0.23.3
|
||||||
container_name: ${CONTAINER_NAME}_migration_job
|
container_name: ${CONTAINER_NAME}_migration_job
|
||||||
volumes:
|
volumes:
|
||||||
# custom configurations
|
|
||||||
- ${UPLOAD_LOCATION}:/root/.affine/storage
|
- ${UPLOAD_LOCATION}:/root/.affine/storage
|
||||||
- ${CONFIG_LOCATION}:/root/.affine/config
|
- ${CONFIG_LOCATION}:/root/.affine/config
|
||||||
command: ['sh', '-c', 'node ./scripts/self-host-predeploy.js']
|
command:
|
||||||
|
- sh
|
||||||
|
- -c
|
||||||
|
- node ./scripts/self-host-predeploy.js
|
||||||
networks:
|
networks:
|
||||||
- 1panel-network
|
- 1panel-network
|
||||||
environment:
|
environment:
|
||||||
@@ -45,13 +46,18 @@ services:
|
|||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
labels:
|
labels:
|
||||||
createdBy: Apps
|
createdBy: Apps
|
||||||
skipStatusCheck: "true"
|
skipStatusCheck: 'true'
|
||||||
restart: no
|
restart: 'no'
|
||||||
redis:
|
redis:
|
||||||
image: redis
|
image: redis
|
||||||
container_name: ${CONTAINER_NAME}_redis
|
container_name: ${CONTAINER_NAME}_redis
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ['CMD', 'redis-cli', '--raw', 'incr', 'ping']
|
test:
|
||||||
|
- CMD
|
||||||
|
- redis-cli
|
||||||
|
- --raw
|
||||||
|
- incr
|
||||||
|
- ping
|
||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
@@ -60,7 +66,6 @@ services:
|
|||||||
labels:
|
labels:
|
||||||
createdBy: Apps
|
createdBy: Apps
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: pgvector/pgvector:pg16
|
image: pgvector/pgvector:pg16
|
||||||
container_name: ${CONTAINER_NAME}_postgres
|
container_name: ${CONTAINER_NAME}_postgres
|
||||||
@@ -74,13 +79,16 @@ services:
|
|||||||
POSTGRES_USER: ${DB_USERNAME}
|
POSTGRES_USER: ${DB_USERNAME}
|
||||||
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
||||||
POSTGRES_DB: ${DB_DATABASE:-affine}
|
POSTGRES_DB: ${DB_DATABASE:-affine}
|
||||||
POSTGRES_INITDB_ARGS: '--data-checksums'
|
POSTGRES_INITDB_ARGS: --data-checksums
|
||||||
# you better set a password for you database
|
|
||||||
# or you may add 'POSTGRES_HOST_AUTH_METHOD=trust' to ignore postgres security policy
|
|
||||||
POSTGRES_HOST_AUTH_METHOD: trust
|
POSTGRES_HOST_AUTH_METHOD: trust
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test:
|
test:
|
||||||
['CMD', 'pg_isready', '-U', "${DB_USERNAME}", '-d', "${DB_DATABASE:-affine}"]
|
- CMD
|
||||||
|
- pg_isready
|
||||||
|
- -U
|
||||||
|
- ${DB_USERNAME}
|
||||||
|
- -d
|
||||||
|
- ${DB_DATABASE:-affine}
|
||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
Reference in New Issue
Block a user