docker permission fix

This commit is contained in:
2021-05-04 20:56:47 +02:00
parent 4d0ebc58be
commit 1737a2f592
3 changed files with 11 additions and 3 deletions

View File

@@ -2,12 +2,13 @@ version: "3.9"
services:
web:
container_name: web
image: nginx:latest
ports:
- "80:80"
volumes:
- .:/application:rw
- ./docker/nginx/site.conf:/etc/nginx/conf.d/default.conf:ro
build:
context: './docker/nginx/'
links:
- db
- php
@@ -28,4 +29,5 @@ services:
context: './docker/php/'
links:
- db