-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
31 lines (31 loc) · 997 Bytes
/
docker-compose.yml
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
version: "3.8"
services:
nginx:
image: nginx
volumes:
- ./helm/nginx:/etc/nginx/templates
- ./dist/ajax:/usr/share/nginx/html/ajax
- ./dist/css:/usr/share/nginx/html/css
- ./dist/fonts:/usr/share/nginx/html/fonts
- ./dist/images:/usr/share/nginx/html/images
- ./dist/js:/usr/share/nginx/html/js
- ./dist/index.html:/usr/share/nginx/html/index.html
- ./models/core:/usr/share/nginx/html/model/core
- ./models/xml:/usr/share/nginx/html/xml
ports:
- 8090:80
links:
- php
environment:
- NGINX_PORT=80
- NGINX_TIMEOUT=30
- NGINX_PHP=php
- NGINX_PHP_PORT=9000
php:
build: .
volumes:
- ./php:/var/www/html/php
- ./models/xml:/var/www/html/php/xml
- ./models/core:/var/www/model/core
ports:
- 9000:9000