# Camoufy in Docker. Start: docker compose up -d
# The sign-in link with the API key: docker compose logs camoufy
services:
  camoufy:
    image: camoufy/camoufy:latest
    container_name: camoufy
    restart: unless-stopped
    # Open to this computer only. To reach it from other machines use an SSH
    # tunnel or a reverse proxy with HTTPS in front.
    ports:
      - "127.0.0.1:18800:18800"
    volumes:
      - camoufy-data:/data
    # Firefox keeps shared memory here; the 64 MB default crashes tabs.
    shm_size: 2gb
    # Time for running profiles to close and save their sessions on stop.
    stop_grace_period: 30s

volumes:
  camoufy-data:
