summaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml12
1 files changed, 10 insertions, 2 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 0eae993..2635a91 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,6 +1,14 @@
services:
- rit:
- build: .
+ web:
+ image: nginx:alpine
restart: unless-stopped
+ volumes:
+ - ./conf/nginx.conf:/etc/nginx/nginx.conf
+ - ./:/var/www/html:ro
ports:
- '80:80'
+ php:
+ image: php:8-fpm
+ restart: unless-stopped
+ volumes:
+ - ./:/var/www/html:ro