FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
NodeBB/docker-compose-pgsql.yml at develop · NodeBB/NodeBB · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
NodeBB
/
NodeBB
Public
Notifications
You must be signed in to change notification settings
Fork
3k
Star
15.2k
Code
Issues
113
Pull requests
31
Actions
Projects
Wiki
Security and quality
9
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
NodeBB
/
docker-compose-pgsql.yml
Copy path
More file actions
More file actions
Latest commit
History
History
History
70 lines (62 loc) · 1.62 KB
Breadcrumbs
NodeBB
/
docker-compose-pgsql.yml
Copy path
File metadata and controls
70 lines (62 loc) · 1.62 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
version
:
'
3.8
'
services
:
nodebb
:
build
:
.
#
image: ghcr.io/nodebb/nodebb:latest
restart
:
unless-stopped
ports
:
-
'
4567:4567
'
#
comment this out if you don't want to expose NodeBB to the host, or change the first number to any port you want
volumes
:
-
nodebb-build:/usr/src/app/build
-
nodebb-uploads:/usr/src/app/public/uploads
-
nodebb-config:/opt/config
-
./install/docker/setup.json:/usr/src/app/setup.json
postgres
:
image
:
postgres:18.6-alpine
restart
:
unless-stopped
environment
:
POSTGRES_USER
:
nodebb
POSTGRES_PASSWORD
:
nodebb
POSTGRES_DB
:
nodebb
volumes
:
-
postgres-data:/var/lib/postgresql/data
redis
:
image
:
redis:8.10.1-alpine
restart
:
unless-stopped
command
:
['redis-server', '--appendonly', 'yes', '--loglevel', 'warning']
#
command: ["redis-server", "--save", "60", "1", "--loglevel", "warning"] # uncomment if you want to use snapshotting instead of AOF
volumes
:
-
redis-data:/data
profiles
:
-
redis
volumes
:
postgres-data
:
driver
:
local
driver_opts
:
o
:
bind
type
:
none
device
:
./.docker/database/postgresql/data
redis-data
:
driver
:
local
driver_opts
:
o
:
bind
type
:
none
device
:
./.docker/database/redis
nodebb-build
:
driver
:
local
driver_opts
:
o
:
bind
type
:
none
device
:
./.docker/build
nodebb-uploads
:
driver
:
local
driver_opts
:
o
:
bind
type
:
none
device
:
./.docker/public/uploads
nodebb-config
:
driver
:
local
driver_opts
:
o
:
bind
type
:
none
device
:
./.docker/config
Back
|
FazBrowse Home
|
New Git URL