From 43c5077c83556da5fa78e93172f21351a6fe0bc9 Mon Sep 17 00:00:00 2001 From: Franek Date: Wed, 26 Feb 2025 23:30:59 +0100 Subject: [PATCH] update compose and adapt to cloudflare --- compose.yaml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/compose.yaml b/compose.yaml index 74584df..b12f65a 100644 --- a/compose.yaml +++ b/compose.yaml @@ -1,10 +1,11 @@ services: - personal-website: - container_name: personal-website - build: - context: . - dockerfile: Dockerfile - ports: - - 80 - - 443 - restart: unless-stopped \ No newline at end of file + www: + build: . + container_name: personal-website + restart: always + networks: + - cloudflare + +networks: + cloudflare: # adapt networks to your configuration + external: true \ No newline at end of file