updated docker config

This commit is contained in:
Jonas Winkler 2020-10-29 22:30:36 +01:00
parent ae9d3f5aab
commit 505396bc5a
2 changed files with 8 additions and 1 deletions

View File

@ -10,7 +10,7 @@ COPY src-ui/package* ./
RUN npm install
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 ###

View File

@ -3,6 +3,8 @@ services:
db:
image: postgres:13
#restart: always
volumes:
- pgdata:/var/lib/postgresql/data
environment:
POSTGRES_DB: paperless
POSTGRES_USER: paperless
@ -23,6 +25,8 @@ services:
retries: 5
volumes:
- data:/usr/src/paperless/data
- media:/usr/src/paperless/media
- ./export:/usr/src/paperless/export
env_file: docker-compose.env
environment:
- PAPERLESS_OCR_LANGUAGES=
@ -36,9 +40,12 @@ services:
restart: on-failure:5
volumes:
- data:/usr/src/paperless/data
- media:/usr/src/paperless/media
- ./consume:/usr/src/paperless/consume
env_file: docker-compose.env
command: ["document_consumer"]
volumes:
data:
media:
pgdata: