Skip to main content

Docker

Run#

docker run --name WeddingShare -h wedding-share -p 8080:5000 -v /var/lib/docker/volumes/wedding-share-config/_data:/app/config:rw -v /var/lib/docker/volumes/wedding-share-thumbnails/_data:/app/wwwroot/thumbnails:rw -v /var/lib/docker/volumes/wedding-share-uploads/_data:/app/wwwroot/uploads:rw --restart always cirx08/wedding_share:latest

Compose#

services:  wedding-share:    container_name: WeddingShare    image: cirx08/wedding_share:latest    ports:      - '${HTTP_PORT:-8080}:5000/tcp'    environment:      TITLE: 'WeddingShare'      LOGO: 'Url'      GALLERY_COLUMNS: 4      ALLOWED_FILE_TYPES: '.jpg,.jpeg,.png'      MAX_FILE_SIZE_MB: 10      SECRET_KEY: 'password'    volumes:      - data-volume-config:/app/config      - data-volume-thumbnails:/app/wwwroot/thumbnails      - data-volume-uploads:/app/wwwroot/uploads    network_mode: bridge    hostname: wedding-share    restart: always
volumes:  data-volume-config:    name: WeddingShare-Config  data-volume-thumbnails:    name: WeddingShare-Thumbnails  data-volume-uploads:    name: WeddingShare-Uploads