1
0
Fork 0
Authentication2.0/docker-compose.yml

23 lines
573 B
YAML

version: '3'
services:
web:
image: nginx:latest
ports:
- "8080:80"
volumes:
- ./webroot:/webroot
- ./resources/nginx/default.conf:/etc/nginx/conf.d/default.conf
- ./resources/nginx/nginx.conf:/etc/nginx/nginx.conf
- ./log/nginx:/var/log/nginx
links:
- php
restart: always
php:
build: ./php/
volumes:
- ./webroot:/webroot
- ./resources/php/custom.ini:/usr/local/etc/php/conf.d/custom.ini
restart: always