pigallery synced with seafile
This commit is contained in:
parent
3c28194216
commit
71b5150585
2 changed files with 47 additions and 0 deletions
|
@ -16,6 +16,7 @@ HOST_WALLABAG=wallabag
|
||||||
HOST_SHAARLI=shaarli
|
HOST_SHAARLI=shaarli
|
||||||
HOST_SELFOSS=selfoss
|
HOST_SELFOSS=selfoss
|
||||||
HOST_BAIKAL=baikal
|
HOST_BAIKAL=baikal
|
||||||
|
HOST_PIGALLERY=pigallery
|
||||||
# other
|
# other
|
||||||
TZ=Europe/Paris
|
TZ=Europe/Paris
|
||||||
BASIC_AUTH=test:$$apr1$$H6uskkkW$$IgXLP6ewTrSuBkTrqE8wj/
|
BASIC_AUTH=test:$$apr1$$H6uskkkW$$IgXLP6ewTrSuBkTrqE8wj/
|
||||||
|
|
46
photo/docker-compose.photo.yml
Normal file
46
photo/docker-compose.photo.yml
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
version: '3'
|
||||||
|
|
||||||
|
services:
|
||||||
|
seafcli-photo:
|
||||||
|
restart: always
|
||||||
|
image: gronis/seafile-client
|
||||||
|
container_name: seafile-client
|
||||||
|
environment:
|
||||||
|
- LIBRARY_ID=${SEAFILE_PHOTO_LIBRARY}
|
||||||
|
- SERVER_URL=${HOST_SEAFILE}.${DOMAIN}
|
||||||
|
- SERVER_PORT=443
|
||||||
|
- USERNAME=${SEAFILE_REGULAR_USER}
|
||||||
|
- PASSWORD=${SEAFILE_REGULAR_PASSWORD}
|
||||||
|
- DATA_DIR=/images
|
||||||
|
networks:
|
||||||
|
- srv
|
||||||
|
volumes:
|
||||||
|
- images:/images
|
||||||
|
|
||||||
|
pigallery2:
|
||||||
|
container_name: pigallery2
|
||||||
|
environment:
|
||||||
|
NODE_ENV: production
|
||||||
|
image: bpatrik/pigallery2:latest
|
||||||
|
networks:
|
||||||
|
- srv
|
||||||
|
expose:
|
||||||
|
- 80
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- pigallery_config:/app/data/config:rw
|
||||||
|
- pigallerydb_data:/app/data/db:rw
|
||||||
|
- pigallery_tmp:/app/data/tmp:rw
|
||||||
|
- images:/app/data/images:ro
|
||||||
|
labels:
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.http.routers.selfoss.rule=Host(`${HOST_PIGALLERY}.${DOMAIN}`)
|
||||||
|
- traefik.http.routers.selfoss.entrypoints=websecure
|
||||||
|
- traefik.http.routers.selfoss.tls=true
|
||||||
|
- traefik.http.services.selfoss.loadbalancer.server.port=80
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
images:
|
||||||
|
pigallerydb_data:
|
||||||
|
pigallery_tmp:
|
||||||
|
pigallery_config:
|
Loading…
Add table
Reference in a new issue