use full storage path not path to volumes
This commit is contained in:
parent
a69a5991b3
commit
c6bf4e3fa0
8 changed files with 22 additions and 22 deletions
|
@ -3,7 +3,7 @@ services:
|
|||
forgejo:
|
||||
image: codeberg.org/forgejo/forgejo:${FORGEJO_VERSION}
|
||||
volumes:
|
||||
- ${VOLUMES_PATH}/git/forgejo_data:/data
|
||||
- ${STORAGE_PATH}/forgejo_data:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
|
@ -51,7 +51,7 @@ services:
|
|||
networks:
|
||||
- git
|
||||
volumes:
|
||||
- ${VOLUMES_PATH}/git/forgejo_db:/var/lib/postgresql/data
|
||||
- ${STORAGE_PATH}/forgejo_db:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER}"]
|
||||
interval: 10s
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue