changed docker-comppse.yml example to build the docker image instead of

pull the previously used debian based image from docker hub
This commit is contained in:
Guy 2017-12-19 22:34:22 +02:00
parent 76293084a4
commit 68cdeb7b3d

View File

@ -2,7 +2,7 @@ version: '2'
services: services:
webserver: webserver:
image: pitkley/paperless build: ./
ports: ports:
# You can adapt the port you want Paperless to listen on by # You can adapt the port you want Paperless to listen on by
# modifying the part before the `:`. # modifying the part before the `:`.
@ -20,7 +20,7 @@ services:
command: ["runserver", "--insecure", "0.0.0.0:8000"] command: ["runserver", "--insecure", "0.0.0.0:8000"]
consumer: consumer:
image: pitkley/paperless build: ./
volumes: volumes:
- data:/usr/src/paperless/data - data:/usr/src/paperless/data
- media:/usr/src/paperless/media - media:/usr/src/paperless/media