aboutsummaryrefslogtreecommitdiffhomepage
path: root/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 00000000..bc469419
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,17 @@
1nginx:
2 image: nginx
3 ports:
4 - "8080:80"
5 volumes:
6 - ./docker/nginx/nginx.conf:/nginx.conf
7 - ./docker/logs/nginx:/var/log/nginx
8 - .:/var/www/html
9 links:
10 - php:php
11 command: nginx -c /nginx.conf
12php:
13 build: docker/php
14 ports:
15 - "9000:9000"
16 volumes:
17 - .:/var/www/html