Skip to content

Commit d5c9848

Browse files
authored
Switch from old compose format, don't hardcode journald (#6186)
1 parent b60e7ed commit d5c9848

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docker-compose.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
version: '3'
2-
1+
---
32
services:
43
postgres:
54
image: postgres:14-alpine3.20
@@ -27,7 +26,7 @@ services:
2726
ports:
2827
- 127.0.0.1:5050:3000
2928
logging:
30-
driver: journald
29+
driver: ${LOGGING_DRIVER:-journald}
3130
volumes:
3231
- ./data/greenlight-v3/storage:/usr/src/app/storage
3332
depends_on:

sample.env

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,3 +118,6 @@ LOG_LEVEL=info
118118
# SERVER_TAG_NAMES=tag1:Name 1,tag2:Name2 # defines available tags and their friendly names
119119
# SERVER_TAG_ROLES=tag2:xyz-123-321-aaaa-zyx/abc-321-123-zzzz-cba # allow tag only for given role ids (see role ids in DB)
120120
# SERVER_TAG_FALLBACK_MODE=required # fallback mode, may be 'desired'/'required' (as global overrides), otherwise room config applies
121+
122+
# Logging Driver
123+
LOGGING_DRIVER=

0 commit comments

Comments
 (0)