mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-26 17:56:34 +00:00
direct bind paths for docker-compose
This commit is contained in:
parent
19f6171419
commit
eb58f1da1e
1 changed files with 10 additions and 3 deletions
|
|
@ -24,7 +24,10 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- TZ=UTC
|
- TZ=UTC
|
||||||
volumes:
|
volumes:
|
||||||
- ${SERVER_SEC_CONFIG:./sec-config.yaml}:/home/bsb/sec-config.yaml
|
- type: bind
|
||||||
|
source: ${SERVER_SEC_CONFIG:-./sec-config.yaml}
|
||||||
|
target: /home/bsb/sec-config.yaml
|
||||||
|
read_only: true
|
||||||
expose:
|
expose:
|
||||||
- "18080"
|
- "18080"
|
||||||
- "18081"
|
- "18081"
|
||||||
|
|
@ -65,7 +68,9 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- TZ=UTC
|
- TZ=UTC
|
||||||
volumes:
|
volumes:
|
||||||
- ${NODERED_DATA_DIR:./nrdata}:/data
|
- type: bind
|
||||||
|
source: ${NODERED_DATA_DIR:./nrdata}
|
||||||
|
target: /data
|
||||||
expose:
|
expose:
|
||||||
- "1880"
|
- "1880"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
|
@ -87,7 +92,9 @@ 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_DIR:./pgdata}:/var/lib/postgresql
|
- type: bind
|
||||||
|
source: ${POSTGRES_DATA_DIR:./pgdata}
|
||||||
|
target: /var/lib/postgresql
|
||||||
expose:
|
expose:
|
||||||
- "5432"
|
- "5432"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue