Skip to content

Commit c2f0318

Browse files
committed
Setup nginx symbol link to php work dir
1 parent f2484a0 commit c2f0318

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docker-compose.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ services:
1515
networks:
1616
- oa-network
1717
container_name: "oa-nginx"
18+
command: /bin/bash -c "mkdir -p /var/www && ln -s /usr/share/nginx/html /var/www && nginx -g 'daemon off;'"
1819

1920
php:
2021
image: "oa-php-fpm"

0 commit comments

Comments
 (0)