Update photoview.md

This commit is contained in:
Dziad Borowy 2021-11-01 15:42:23 +00:00 committed by GitHub
parent 417ce4b5b5
commit a91f2f01ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,11 +30,11 @@ services:
depends_on: depends_on:
- db - db
environment: environment:
- MYSQL_URL=photoview:photo-secret@tcp(db)/photoview - PHOTOVIEW_DATABASE_DRIVER=mysql
- API_LISTEN_IP=photoview - PHOTOVIEW_MYSQL_URL=photoview:photo-secret@tcp(db)/photoview
- API_LISTEN_PORT=80 - PHOTOVIEW_LISTEN_IP=photoview
- PHOTO_CACHE=/app/cache - PHOTOVIEW_LISTEN_PORT=80
- PUBLIC_ENDPOINT=http://192.168.1.10:3090/ - PHOTOVIEW_MEDIA_CACHE=/app/cache
volumes: volumes:
- ./cache:/app/cache - ./cache:/app/cache
- ./photos:/photos:ro - ./photos:/photos:ro