Skip to content

Commit a89043f

Browse files
committed
feedback, don't mount file directly
1 parent d08f150 commit a89043f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

docs/migrate.md

Lines changed: 4 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+
- ./config:/etc/nginx/conf.d # mount config/default.conf into the container
107107
- .:/var/www/app
108108
ports:
109109
- "80:80"
110+
- "443:443"
111+
- "443:443/udp"
110112

111113
php:
112114
image: php:8.5-fpm
@@ -122,7 +124,7 @@ services:
122124
image: dunglas/frankenphp:1-php8.5
123125
volumes:
124126
- .:/var/www/app
125-
- ./Caddyfile:/etc/frankenphp/Caddyfile
127+
- ./config:/etc/frankenphp # to mount config/Caddyfile into the container
126128
- caddy_data:/data
127129
- caddy_config:/config
128130
ports:

0 commit comments

Comments
 (0)