Skip to content

Commit bc908a5

Browse files
authored
Configure nginx from composer.yaml (#24)
1 parent 1d6205b commit bc908a5

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

dev/compose.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,12 @@ version: '3'
22

33
services:
44
nginx:
5-
container_name: log-viewer-nginx
6-
build:
7-
context: .
8-
dockerfile: ./docker/nginx/Dockerfile
5+
image: nginx:stable-alpine
96
ports:
107
- ${NGINX_PORT:-8888}:80
118
volumes:
129
- ../.:/app:rw
13-
- log-viewer-log:/var/log/nginx:rw
10+
- ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
1411

1512
php-fpm:
1613
container_name: log-viewer-php

dev/docker/nginx/Dockerfile

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)