2024-10-20 18:37:46 +02:00
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
enable_ipv6: true
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
hastes:
|
|
|
|
driver: local
|
|
|
|
|
|
|
|
services:
|
|
|
|
server:
|
|
|
|
image: mtudury/hastepad:0.9.1
|
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
|
|
|
- "3003:7777"
|
|
|
|
volumes:
|
|
|
|
- hastes:/usr/src/app/data
|
|
|
|
labels:
|
|
|
|
- "traefik.enable=true"
|
|
|
|
- "traefik.http.routers.gnoushaste.entryPoints=websecure"
|
|
|
|
- "traefik.http.routers.gnoushaste.rule=Host(`haste.gnous.eu`)"
|
|
|
|
- "traefik.http.routers.gnoushaste.tls=true"
|
|
|
|
- "traefik.http.routers.gnoushaste.tls.certresolver=defaultacme"
|
|
|
|
- "traefik.http.routers.gnoushaste.middlewares=proxyHeader@file,proxyError@file"
|
|
|
|
env_file:
|
2024-10-20 19:24:54 +02:00
|
|
|
- path: .env
|
|
|
|
required: false
|