zockerei / secret-santa

Web application to manage Secret Santa gift exchanges with automated assignments and message sharing
0 stars 0 forks source link

Website hosting etc. #11

Closed zockerei closed 1 month ago

zockerei commented 1 month ago

Https and security for attacks

zockerei commented 1 month ago

Done with docker-compose and nginx proxy manager.

Custom network br0 that has access to all other IPs (192.168.0.0/24). Every app has its own IP Address

zockerei commented 1 month ago
services:
  app:
    image: python:3.12-slim
    container_name: secret_santa
    working_dir: /app
    volumes:
      - /mnt/user/appdata/secret-santa:/app
    command: sh -c "pip install --no-cache-dir -r requirements.txt && python app.py"
    build:
      context: /mnt/user/appdata/secret-santa
      dockerfile: Dockerfile
    networks:
      - br0

networks:
  br0:
    external: true

Hosted on Unraid, duckdns and ssl certificate