Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
5b568aa9
Unverified
Commit
5b568aa9
authored
Feb 13, 2026
by
yang chanfa
Committed by
GitHub
Feb 13, 2026
Browse files
docker-compose.yml add PGDATA env
`docker-compose.yml` also have to define the `PGDATA` env
parent
47194326
Changes
1
Show whitespace changes
Inline
Side-by-side
deploy/docker-compose.yml
View file @
5b568aa9
...
...
@@ -158,6 +158,7 @@ services:
-
POSTGRES_USER=${POSTGRES_USER:-sub2api}
-
POSTGRES_PASSWORD=${POSTGRES_PASSWORD:?POSTGRES_PASSWORD is required}
-
POSTGRES_DB=${POSTGRES_DB:-sub2api}
-
PGDATA=/var/lib/postgresql/data
-
TZ=${TZ:-Asia/Shanghai}
networks
:
-
sub2api-network
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment