This commit is contained in:
reonokiy 2025-05-14 15:44:16 +08:00
parent 916c366f5f
commit 6d76cc19ca
Signed by: reonokiy
SSH key fingerprint: SHA256:2VjKpUxMIe0QYY3OVnOMuPiB0X5pvrIpJ+UiyFhxtq0

View file

@ -17,6 +17,7 @@ services:
FORGEJO__server__ROOT_URL: http://git.nokiy.net FORGEJO__server__ROOT_URL: http://git.nokiy.net
FORGEJO__storage__STORAGE_TYPE: minio FORGEJO__storage__STORAGE_TYPE: minio
FORGEJO__storage__SERVER_DIRECT: true FORGEJO__storage__SERVER_DIRECT: true
FORGEJO__storage__MINIO_BUCKET: ${S3_BUCKET}
FORGEJO__storage__MINIO_ENDPOINT: ${S3_ENDPOINT} FORGEJO__storage__MINIO_ENDPOINT: ${S3_ENDPOINT}
FORGEJO__storage__MINIO_LOCATION: ${S3_LOCATION} FORGEJO__storage__MINIO_LOCATION: ${S3_LOCATION}
FORGEJO__storage__MINIO_USE_SSL: ${S3_USE_SSL:-true} FORGEJO__storage__MINIO_USE_SSL: ${S3_USE_SSL:-true}
@ -47,6 +48,11 @@ services:
ports: ports:
- '3000:3000' - '3000:3000'
# - '222:22' # - '222:22'
depends_on:
postgres:
condition: service_healthy
redis:
condition: service_healthy
postgres: postgres:
image: postgres:${POSTGRES_VERSION:-17.5} image: postgres:${POSTGRES_VERSION:-17.5}