Chatpad is the ultimate interface for ChatGPT users. It allows you to interact with OpenAI’s ChatGPT in a more user-friendly way, with more features and customization options.
Docker compose
Here is the docker compose file generated by Crane It.
version: "3.8"
services:
chatpad: &chatpad
container_name: chatpad
image: ghcr.io/deiucanta/chatpad:latest
expose:
- "80"
labels:
- "traefik.enable=true"
- "traefik.http.routers.chatpad.rule=Host(`$CRANE_IT_EB_DOMAIN`)"
- "traefik.http.routers.chatpad.entrypoints=websecure"
- "traefik.http.routers.chatpad.tls.certresolver=myresolver"
- "traefik.http.services.chatpad.loadbalancer.server.port=80"
ports: []
traefik:
image: "traefik:v2.9.5"
container_name: traefik
command:
- "--log.level=INFO"
- "--api.insecure=false"
- "--providers.docker=true"
- "--providers.docker.exposedbydefault=false"
- "--entrypoints.web.address=:80"
- "--entrypoints.websecure.address=:443"
- "--certificatesresolvers.myresolver.acme.httpchallenge=true"
- "--certificatesresolvers.myresolver.acme.httpchallenge.entrypoint=web"
- "--certificatesresolvers.myresolver.acme.email=craneit.contact@gmail.com"
- "--certificatesresolvers.myresolver.acme.storage=/letsencrypt/acme.json"
ports:
- "80:80"
- "443:443"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
- "./letsencrypt:/letsencrypt"
The docker compose file is quite simple if you ignore traefik and its related labels. Traefik allow us to use HTTPS.
Useful links