aboutsummaryrefslogtreecommitdiff
path: root/compose.yaml
diff options
context:
space:
mode:
authorMathias Magnusson <mathias@magnusson.space>2025-09-22 21:25:49 +0200
committerMathias Magnusson <mathias@magnusson.space>2025-09-22 21:25:49 +0200
commita2827963fbf6847166360be635c65dc85d20dd0d (patch)
tree3904f4a24733c4e097eb4baba4283973e5dabdbd /compose.yaml
parentfb59ea2f57da2abf3c7bd76feddfaf10e109d2f4 (diff)
downloadtraedgaardstomten-a2827963fbf6847166360be635c65dc85d20dd0d.tar.gz
PHP FTW!
Diffstat (limited to 'compose.yaml')
-rw-r--r--compose.yaml16
1 files changed, 16 insertions, 0 deletions
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