-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
65 lines (56 loc) · 1.27 KB
/
compose.yaml
File metadata and controls
65 lines (56 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: webcontrol-php-sidebar
services:
php:
build: .
image: biemannt/php-develop:webcontrol-php-sidebar
# Extra-Host Definition für XDebug
extra_hosts:
- host.docker.internal:host-gateway
volumes:
# Log-Dateien
- type: bind
source: ./dev/log
target: /var/log
read_only: false
# Public HTML-Dateien
- type: bind
source: ./public
target: /var/www/html
read_only: false
# PHP-Module
- type: bind
source: ./src
target: /var/www/modules
networks:
- internal
web:
image: nginx:alpine
volumes:
# NGINX-Server Konfiguration
- type: bind
source: ./dev/default.conf
target: /etc/nginx/conf.d/default.conf
read_only: true
# Log-Dateien
- type: bind
source: ./dev/log
target: /var/log/nginx
read_only: false
# Public HTML-Dateien
- type: bind
source: ./public
target: /var/www/html
read_only: false
# PHP-Module
- type: bind
source: ./src
target: /var/www/modules
read_only: false
working_dir: /var/www/html
ports:
- "80:80"
networks:
- internal
networks:
internal:
driver: bridge