Skip to content

Commit af07c17

Browse files
francislavoiehenderkesalexandre-daubois
authored
docs: migrate.md adjust volume mount path (#2337)
The rest of the examples use `/var/www/app`, so the volume mount should match. --------- Signed-off-by: Francis Lavoie <lavofr@gmail.com> Co-authored-by: henderkes <m@pyc.ac> Co-authored-by: Alexandre Daubois <2144837+alexandre-daubois@users.noreply.github.com>
1 parent b7e3d74 commit af07c17

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

docs/migrate.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,12 @@ services:
103103
nginx:
104104
image: nginx:1
105105
volumes:
106-
- ./nginx.conf:/etc/nginx/conf.d/default.conf
106+
# mount Nginx config into the container
107+
- ./config:/etc/nginx/conf.d
107108
- .:/var/www/app
108109
ports:
109110
- "80:80"
111+
- "443:443"
110112

111113
php:
112114
image: php:8.5-fpm
@@ -121,7 +123,9 @@ services:
121123
php:
122124
image: dunglas/frankenphp:1-php8.5
123125
volumes:
124-
- .:/app/public
126+
- .:/var/www/app
127+
# mount the Caddyfile into the container
128+
- ./config:/etc/frankenphp
125129
- caddy_data:/data
126130
- caddy_config:/config
127131
ports:

0 commit comments

Comments
 (0)