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