A docker image for nginx
version: "3.8"
services:
nginx:
build:
context: ./build/nginx
args:
- GID=${GID}
- GROUP_NAME=php
image: nginx:latest
#container_name: nginx
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime:ro
- php:/php
- app:/app
ports:
- "8080:8080"
volumes:
php:
app:
app_db: