From a2827963fbf6847166360be635c65dc85d20dd0d Mon Sep 17 00:00:00 2001 From: Mathias Magnusson Date: Mon, 22 Sep 2025 21:25:49 +0200 Subject: PHP FTW! --- compose.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 compose.yaml (limited to 'compose.yaml') diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 0000000..6e78b8c --- /dev/null +++ b/compose.yaml @@ -0,0 +1,16 @@ +services: + php: + image: docker.io/php:8.2-fpm-alpine + working_dir: "/var/www/trädgårdstomten" + restart: unless-stopped + read_only: true + volumes: + - ./public:/var/www/trädgårdstomten/public:ro + - ./include:/var/www/trädgårdstomten/include:ro + nginx: + image: docker.io/nginx:1.27-alpine + restart: unless-stopped + ports: [ 127.0.1.1:8009:8009 ] # address of "garm" name, works from within containers + volumes: + - ./nginx.conf:/etc/nginx/conf.d/default.conf:ro + - ./public:/var/www/trädgårdstomten/public:ro -- cgit v1.2.3