Compare commits
7 Commits
ec08f5eb5d
...
feat/add-p
| Author | SHA1 | Date | |
|---|---|---|---|
| 1eacc3cd8e | |||
| bce403232a | |||
| 37bf43c3ea | |||
| 563ccc5632 | |||
| 8d1ae7e632 | |||
| 29ae32a1c5 | |||
| 8dff094768 |
@@ -96,6 +96,62 @@ services:
|
|||||||
- "303"
|
- "303"
|
||||||
- "26"
|
- "26"
|
||||||
|
|
||||||
|
paperclip-db:
|
||||||
|
image: postgres:17-alpine
|
||||||
|
container_name: paperclip-db
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: paperclip
|
||||||
|
POSTGRES_PASSWORD: ${PAPERCLIP_DB_PASSWORD:?PAPERCLIP_DB_PASSWORD must be set}
|
||||||
|
POSTGRES_DB: paperclip
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "pg_isready -U paperclip -d paperclip"]
|
||||||
|
interval: 5s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 10
|
||||||
|
volumes:
|
||||||
|
- /mnt/HoardingCow_docker_data/Paperclip/pgdata:/var/lib/postgresql/data
|
||||||
|
networks:
|
||||||
|
- ai_backend
|
||||||
|
|
||||||
|
paperclip:
|
||||||
|
image: ghcr.io/paperclipai/paperclip:v2026.517.0
|
||||||
|
container_name: paperclip
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "127.0.0.1:3100:3100"
|
||||||
|
environment:
|
||||||
|
- HOST=0.0.0.0
|
||||||
|
- PORT=3100
|
||||||
|
- SERVE_UI=true
|
||||||
|
- DATABASE_URL=postgres://paperclip:${PAPERCLIP_DB_PASSWORD}@paperclip-db:5432/paperclip
|
||||||
|
- BETTER_AUTH_SECRET=${PAPERCLIP_AUTH_SECRET:?PAPERCLIP_AUTH_SECRET must be set}
|
||||||
|
- PAPERCLIP_PUBLIC_URL=https://paperclip.lazyworkhorse.net
|
||||||
|
- PAPERCLIP_DEPLOYMENT_MODE=authenticated
|
||||||
|
- PAPERCLIP_DEPLOYMENT_EXPOSURE=private
|
||||||
|
volumes:
|
||||||
|
- /mnt/HoardingCow_docker_data/Paperclip/data:/paperclip
|
||||||
|
depends_on:
|
||||||
|
paperclip-db:
|
||||||
|
condition: service_healthy
|
||||||
|
networks:
|
||||||
|
- ai_net
|
||||||
|
- ai_backend
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.docker.network=ai_net"
|
||||||
|
|
||||||
|
- "traefik.http.routers.paperclip-http.rule=Host(`paperclip.lazyworkhorse.net`)"
|
||||||
|
- "traefik.http.routers.paperclip-http.entrypoints=web"
|
||||||
|
- "traefik.http.routers.paperclip-http.middlewares=redirect-to-https"
|
||||||
|
|
||||||
|
- "traefik.http.routers.paperclip-https.rule=Host(`paperclip.lazyworkhorse.net`)"
|
||||||
|
- "traefik.http.routers.paperclip-https.entrypoints=websecure"
|
||||||
|
- "traefik.http.routers.paperclip-https.tls=true"
|
||||||
|
- "traefik.http.routers.paperclip-https.tls.certresolver=njalla"
|
||||||
|
|
||||||
|
- "traefik.http.services.paperclip.loadbalancer.server.port=3100"
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
ai_net:
|
ai_net:
|
||||||
external: true
|
external: true
|
||||||
|
|||||||
@@ -8,13 +8,10 @@ services:
|
|||||||
- USER_GID=1000
|
- USER_GID=1000
|
||||||
- GITEA__server__ROOT_URL=https://code.lazyworkhorse.net
|
- GITEA__server__ROOT_URL=https://code.lazyworkhorse.net
|
||||||
- GITEA__actions__ENABLED=true
|
- GITEA__actions__ENABLED=true
|
||||||
- GITEA__actions__DEFAULT_ACTIONS_URL=off
|
|
||||||
- SSH_PORT=2222
|
- SSH_PORT=2222
|
||||||
- SSH_LISTEN_PORT=2222
|
- SSH_LISTEN_PORT=2222
|
||||||
# Enable Gitea Actions (act_runner required on host)
|
# Enable Gitea Actions (act_runner required on host)
|
||||||
- GITEA__actions__ENABLED=true
|
- GITEA__actions__ENABLED=true
|
||||||
# Don't fetch actions from GitHub (offline mode + local only)
|
|
||||||
- GITEA__actions__DEFAULT_ACTIONS_URL=off
|
|
||||||
volumes:
|
volumes:
|
||||||
- /mnt/HoardingCow_docker_data/Gitea:/data
|
- /mnt/HoardingCow_docker_data/Gitea:/data
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
# Fixes crash-loop when host kernel lacks legacy iptable_nat module.
|
# Fixes crash-loop when host kernel lacks legacy iptable_nat module.
|
||||||
FROM ghcr.io/wg-easy/wg-easy:latest
|
FROM ghcr.io/wg-easy/wg-easy:latest
|
||||||
|
|
||||||
# The upstream image defaults to iptables-legacy via update-alternatives.
|
# The upstream image registers only iptables-legacy with update-alternatives.
|
||||||
# Switch iptables to the nftables backend (already provided by the 'iptables'
|
# iptables-nft binary exists but isn't registered as an alternative key.
|
||||||
# package on Alpine 3.18+). No apk add needed — iptables-nft is built-in.
|
# Override the alternatives-managed symlinks directly.
|
||||||
RUN update-alternatives --set iptables /usr/sbin/iptables-nft && \
|
RUN ln -sf /usr/sbin/iptables-nft /usr/sbin/iptables && \
|
||||||
update-alternatives --set ip6tables /usr/sbin/ip6tables-nft
|
ln -sf /usr/sbin/ip6tables-nft /usr/sbin/ip6tables
|
||||||
|
|||||||
Reference in New Issue
Block a user