aboutsummaryrefslogtreecommitdiff
path: root/compose.yaml
diff options
context:
space:
mode:
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