Skip to content

Commit 4e0a073

Browse files
committed
paperlessngx
1 parent bf8c4bb commit 4e0a073

File tree

4 files changed

+4
-64
lines changed

4 files changed

+4
-64
lines changed

apps/paperlessngx/.env

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,10 @@ W9_DIST='community'
33
W9_VERSION='latest'
44
W9_POWER_PASSWORD='!Y#Am6L3J3xbFBP0'
55

6-
# Environments which for user settings when create application
7-
# Named expression: W9_xxx_xxx_SET, xxx refer to file fields
86
W9_HTTP_PORT_SET='9001'
9-
10-
#### -- Not allowed to edit below environments when recreate app based on existing data -- ####
117
W9_ID='paperlessngx'
12-
13-
# W9_HTTP_PORT or W9_HTTPS_PORT is need at leaset and used for proxy for web application
14-
# Some container (e.g teleport) need HTTPS access, then need to set this pra
158
W9_HTTP_PORT=8000
16-
17-
18-
# Container name's suffix must use one of the value
199
W9_DB_EXPOSE="postgresql"
20-
21-
# It is used when the application APP needs to set an external URL, which can be IP(or domain), IP:PORT
22-
# If have protocols, should be set it in the APP's ENV
2310
W9_URL='internet_ip:$W9_HTTP_PORT_SET'
2411
W9_NETWORK=websoft9
2512

apps/paperlessngx/Dockerfile

Lines changed: 0 additions & 21 deletions
This file was deleted.

apps/paperlessngx/README.jinja2

Lines changed: 0 additions & 26 deletions
This file was deleted.

apps/paperlessngx/docker-compose.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ services:
88

99
db:
1010
image: docker.io/library/postgres:16
11-
container_name: $W9_ID-postgres
11+
container_name: $W9_ID-postgresql
1212
restart: unless-stopped
1313
volumes:
1414
- dbdata:/var/lib/mysql
1515
environment:
1616
POSTGRES_DB: paperlessngx
17-
POSTGRES_USER: postgres
17+
POSTGRES_USER: paperlessngx
1818
POSTGRES_PASSWORD: $W9_POWER_PASSWORD
1919

2020
webserver:
@@ -37,9 +37,9 @@ services:
3737
environment:
3838
PAPERLESS_REDIS: redis://$W9_ID-redis:6379
3939
PAPERLESS_DBENGINE: postgresql
40-
PAPERLESS_DBHOST: $W9_ID-postgres
40+
PAPERLESS_DBHOST: $W9_ID-postgresql
4141
PAPERLESS_DBNAME: paperlessngx
42-
PAPERLESS_DBUSER: postgres
42+
PAPERLESS_DBUSER: paperlessngx
4343
PAPERLESS_DBPASS: $W9_POWER_PASSWORD
4444
PAPERLESS_DBPORT: 5432
4545
PAPERLESS_TIKA_ENABLED: 1

0 commit comments

Comments
 (0)