mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-26 17:56:34 +00:00
Update docker-compose.coolify.yml
This commit is contained in:
parent
bab194a184
commit
19f6171419
1 changed files with 3 additions and 19 deletions
|
|
@ -23,16 +23,8 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- TZ=UTC
|
- TZ=UTC
|
||||||
- BF_DATA_DIR=/var/lib/betterframe
|
|
||||||
- BF_SQLITE_PATH=/var/lib/betterframe/betterframe.db
|
|
||||||
- BF_NODERED_URL=http://nodered:1880
|
|
||||||
- BF_SELF_URL=http://server:18080
|
|
||||||
- BF_SERVER_VERSION=${BF_SERVER_VERSION:-${COOLIFY_GIT_COMMIT:-${SOURCE_COMMIT:-dev}}}
|
|
||||||
# PostgreSQL: set BF_DB=postgres to switch from SQLite.
|
|
||||||
- BF_DB=postgres
|
|
||||||
- BF_PG_URL=${BF_PG_URL:-postgres://${BF_PG_USER:-betterframe}:${BF_PG_PASSWORD:-betterframe}@postgres:5432/${BF_PG_DB:-betterframe}}
|
|
||||||
volumes:
|
volumes:
|
||||||
- betterframe-data:/var/lib/betterframe
|
- ${SERVER_SEC_CONFIG:./sec-config.yaml}:/home/bsb/sec-config.yaml
|
||||||
expose:
|
expose:
|
||||||
- "18080"
|
- "18080"
|
||||||
- "18081"
|
- "18081"
|
||||||
|
|
@ -73,7 +65,7 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- TZ=UTC
|
- TZ=UTC
|
||||||
volumes:
|
volumes:
|
||||||
- nodered-data:/data
|
- ${NODERED_DATA_DIR:./nrdata}:/data
|
||||||
expose:
|
expose:
|
||||||
- "1880"
|
- "1880"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
|
@ -95,7 +87,7 @@ services:
|
||||||
- POSTGRES_PASSWORD=${BF_PG_PASSWORD:-betterframe}
|
- POSTGRES_PASSWORD=${BF_PG_PASSWORD:-betterframe}
|
||||||
- POSTGRES_DB=${BF_PG_DB:-betterframe}
|
- POSTGRES_DB=${BF_PG_DB:-betterframe}
|
||||||
volumes:
|
volumes:
|
||||||
- postgres-data:/var/lib/postgresql
|
- ${POSTGRES_DATA_DIR:./pgdata}:/var/lib/postgresql
|
||||||
expose:
|
expose:
|
||||||
- "5432"
|
- "5432"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
|
@ -107,14 +99,6 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- betterframe
|
- betterframe
|
||||||
|
|
||||||
volumes:
|
|
||||||
betterframe-data:
|
|
||||||
name: ${BF_DATA_VOLUME_NAME:-betterframe-data}
|
|
||||||
nodered-data:
|
|
||||||
name: ${NODERED_DATA_VOLUME_NAME:-nodered-data}
|
|
||||||
postgres-data:
|
|
||||||
name: ${BF_PG_VOLUME_NAME:-betterframe-postgres}
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
betterframe:
|
betterframe:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue