mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
updated docker config
This commit is contained in:
parent
ae9d3f5aab
commit
505396bc5a
@ -10,7 +10,7 @@ COPY src-ui/package* ./
|
|||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
||||||
COPY src-ui .
|
COPY src-ui .
|
||||||
RUN node_modules/.bin/ng build --prod --output-hashing none
|
RUN node_modules/.bin/ng build --prod --output-hashing none --sourceMap=false
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
### Back end ###
|
### Back end ###
|
||||||
|
@ -3,6 +3,8 @@ services:
|
|||||||
db:
|
db:
|
||||||
image: postgres:13
|
image: postgres:13
|
||||||
#restart: always
|
#restart: always
|
||||||
|
volumes:
|
||||||
|
- pgdata:/var/lib/postgresql/data
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_DB: paperless
|
POSTGRES_DB: paperless
|
||||||
POSTGRES_USER: paperless
|
POSTGRES_USER: paperless
|
||||||
@ -23,6 +25,8 @@ services:
|
|||||||
retries: 5
|
retries: 5
|
||||||
volumes:
|
volumes:
|
||||||
- data:/usr/src/paperless/data
|
- data:/usr/src/paperless/data
|
||||||
|
- media:/usr/src/paperless/media
|
||||||
|
- ./export:/usr/src/paperless/export
|
||||||
env_file: docker-compose.env
|
env_file: docker-compose.env
|
||||||
environment:
|
environment:
|
||||||
- PAPERLESS_OCR_LANGUAGES=
|
- PAPERLESS_OCR_LANGUAGES=
|
||||||
@ -36,9 +40,12 @@ services:
|
|||||||
restart: on-failure:5
|
restart: on-failure:5
|
||||||
volumes:
|
volumes:
|
||||||
- data:/usr/src/paperless/data
|
- data:/usr/src/paperless/data
|
||||||
|
- media:/usr/src/paperless/media
|
||||||
- ./consume:/usr/src/paperless/consume
|
- ./consume:/usr/src/paperless/consume
|
||||||
env_file: docker-compose.env
|
env_file: docker-compose.env
|
||||||
command: ["document_consumer"]
|
command: ["document_consumer"]
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
data:
|
data:
|
||||||
|
media:
|
||||||
|
pgdata:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user