summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-06-18 20:16:22 +0100
committerJoe Carstairs <me@joeac.net>2026-06-18 20:16:22 +0100
commit29db3ce86a36cc91318721e56094b763c98c2fa9 (patch)
tree21d76e90137a119dfd6c733dde59fcac059b4246
parent2d89475f0b9648e5efcf827d3e01356ee84b5465 (diff)
first draft of http.Dockerfile
-rw-r--r--compose.yml14
-rw-r--r--http.Dockerfile5
2 files changed, 19 insertions, 0 deletions
diff --git a/compose.yml b/compose.yml
index 6de4e61..e0f4df8 100644
--- a/compose.yml
+++ b/compose.yml
@@ -7,6 +7,20 @@ services:
ports:
- "1965:1965"
+ http:
+ image: git.joeac.net/joeac/joeac.net-http
+ build:
+ context: .
+ dockerfile: http.Dockerfile
+ args:
+ LOCAL_SMTP_HOST: smtp
+ LOCAL_SMTP_PORT: 2500
+ LOCAL_SMTP_PASSWORD: smtp
+ env_file:
+ - .env
+ ports:
+ - "8080:8080"
+
smtp:
image: git.joeac.net/joeac/joeac.net-smtp
build:
diff --git a/http.Dockerfile b/http.Dockerfile
new file mode 100644
index 0000000..f1a1876
--- /dev/null
+++ b/http.Dockerfile
@@ -0,0 +1,5 @@
+FROM nginx:1.30.3-alpine3.23
+RUN apk --update add build-base make
+RUN make --directory=http --makefile=http/Makefile
+COPY http/php /usr/share/nginx/php
+COPY http/out /usr/share/nginx/html