From bcfe64de9e5ccd743b3e8b1d0b475112c057f3cd Mon Sep 17 00:00:00 2001 From: Matt Date: Sat, 1 Jun 2024 06:55:39 +0000 Subject: [PATCH] adding pages --- pages/docker-compose.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 pages/docker-compose.yml diff --git a/pages/docker-compose.yml b/pages/docker-compose.yml new file mode 100644 index 0000000..6d16f75 --- /dev/null +++ b/pages/docker-compose.yml @@ -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