blob: 244a83c4e902ccac55d4caf703e963f8042052f8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
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
- ./data:/data:rw
- type: tmpfs
target: /tmp
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
|