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

28 lines
633 B
YAML
Raw Normal View History

2018-11-08 18:09:21 +00:00
version: '3'
services:
web:
image: nginx:latest
ports:
- "80:80"
2018-11-08 18:09:21 +00:00
volumes:
- ./webroot:/webroot:ro
- ./resources/nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
- ./resources/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
networks:
- backend
2018-11-08 18:09:21 +00:00
restart: always
php:
build: ./php/
volumes:
- ./webroot:/webroot:ro
- ./resources/php/custom.ini:/usr/local/etc/php/conf.d/custom.ini:ro
networks:
- backend
2018-11-08 18:09:21 +00:00
restart: always
networks:
backend:
driver: bridge