adding pages

This commit is contained in:
Matt 2024-06-01 06:55:39 +00:00
parent 793328ddec
commit bcfe64de9e

21
pages/docker-compose.yml Normal file
View file

@ -0,0 +1,21 @@
---
services:
pages:
image: codeberg.org/codeberg/pages-server@sha256:7911833f0b826a3586a02f4e21e9768dcd3e72a6b0ec3d998b2ceb328876c0f6
container_name: codeberg-pages
environment:
- GITEA_ROOT=https://git.mafyuh.dev
- GITEA_API_TOKEN=$GITEA_API_TOKEN
- ACME_ACCEPT_TERMS=true
- CLOUDFLARE_EMAIL=$CLOUDFLARE_EMAIL
- CLOUDFLARE_API_KEY=$CLOUDFLARE_API_KEY
- DNS_PROVIDER=cloudflare
- PAGES_DOMAIN=mafyuh.co
- CF_ZONE_API_TOKEN=$CF_ZONE_API_TOKEN
- CF_DNS_API_TOKEN=$CF_DNS_API_TOKEN
- ENABLE_HTTP_SERVER=false
ports:
- "80:80"
- "443:443"
volumes:
- /home/ubuntu/pages/datanew:/data