first draft of http.Dockerfile
This commit is contained in:
+14
@@ -7,6 +7,20 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "1965:1965"
|
- "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:
|
smtp:
|
||||||
image: git.joeac.net/joeac/joeac.net-smtp
|
image: git.joeac.net/joeac/joeac.net-smtp
|
||||||
build:
|
build:
|
||||||
|
|||||||
@@ -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
|
||||||
Reference in New Issue
Block a user