-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
58 lines (51 loc) · 1.26 KB
/
compose.yml
File metadata and controls
58 lines (51 loc) · 1.26 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
---
version: '3.8'
services:
web:
profiles:
- backend
container_name: ${COMPOSE_PROJECT_NAME}.web
image: ${NGINX_IMAGE}
ports:
- '9090:80'
volumes:
- ./:/var/www
- ./wtw.paxperscientiam.com/:/var/www/html
- ./default.conf:/etc/nginx/conf.d/default.conf
links:
- php-fpm
php-fpm:
profiles:
- backend
container_name: ${COMPOSE_PROJECT_NAME}.php
image: ${PHP_IMAGE}
expose:
- 9000
volumes:
- ./:/var/www
- ./wtw.paxperscientiam.com/:/var/www/html
# build:
# context: ./
# args:
# PHP_IMAGE: ${PHP_IMAGE}
# # env_file:
# # - ./docker/.env
# volumes:
# - ./:/var/www/
# # - ./wtw.paxperscientiam.com:/var/www/files/wtw.paxperscientiam.com
# # - /var/www/files/storage/ # cache and sqlite database
# # - ./package.json:/var/www/files/package.json
# # - ./composer.json:/var/www/files/composer.json
# # - node_modules:/var/www/files/node_modules
# # - vendor:/var/www/files/vendor
# ports:
# - 9005:80
# # npm-update:
# # command: node index.js
# # depends_on:
# # - php-apache-environment
# # volumes:
# # wtw:
# # vendor:
# # node_modules:
# # logs: