summaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-02-07 16:06:51 -0500
committerFreya Murphy <freya@freyacat.org>2025-02-07 16:06:51 -0500
commit3b6fd9bae4b17f2184c9cec5a2cc5c9d9473d7fa (patch)
treedb7e4534a61020f29c14f28b6130523ea2028bad /docker-compose.yml
parentfix john (diff)
downloadrit.wtf-3b6fd9bae4b17f2184c9cec5a2cc5c9d9473d7fa.tar.gz
rit.wtf-3b6fd9bae4b17f2184c9cec5a2cc5c9d9473d7fa.tar.bz2
rit.wtf-3b6fd9bae4b17f2184c9cec5a2cc5c9d9473d7fa.zip
fix docker
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