Skip to content

Hosting 2 Galleries on 1 RPI4B and face tagging #443

Answered by martadinata666
GWONG3 asked this question in Q&A
Discussion options

You must be logged in to vote

Just copy repeat

version: '3'
services:
  pigallery2:
    image: bpatrik/pigallery2:latest
    container_name: pigallery2
    environment:
      - NODE_ENV=production
    volumes:
      - "./pigallery2/config:/app/data/config" # CHANGE ME
      - "db-data:/app/data/db"
      - "./pigallery2/images:/app/data/images:ro" # CHANGE ME, ':ro' mean read-only
      - "./pigallery2/tmp:/app/data/tmp" # CHANGE ME
    ports:
      - 1234:80
    restart: always

  pigallery2son:
    image: bpatrik/pigallery2:latest
    container_name: pigallery2son
    environment:
      - NODE_ENV=production
    volumes:
      - "./pigallery2son/config:/app/data/config" # CHANGE ME
      - "db-data-son:/app/data/db"…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@GWONG3
Comment options

Answer selected by GWONG3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants