21 lines
416 B
YAML
21 lines
416 B
YAML
services:
|
|
|
|
web:
|
|
build: ./build/nginx
|
|
restart: unless-stopped
|
|
ports:
|
|
- '80:8080'
|
|
volumes:
|
|
- ./src:/opt/website:ro
|
|
- ./conf/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
|
|
depends_on:
|
|
- php
|
|
|
|
php:
|
|
build: ./build/php
|
|
restart: unless-stopped
|
|
env_file:
|
|
- ./conf/ldap/ldap.env
|
|
volumes:
|
|
- ./src:/opt/website:ro
|
|
- ./data/session:/var/lib/php/session
|