This commit is contained in:
root committed 2022-10-11 07:44:28 +07:00
1 parent ab642d9c51
commit 9abad2f998
13 files changed
+57 -41

No files matched your search

+3 -3
View File
@@ -1,8 +1,8 @@
# Build image:
# docker build -t streamupload .
# Run container, one of:
# docker run -d --name stream -p 8080:80 -v $PWD/uploadpage:/var/www/uploadpage streamupload
# docker run -d --name stream -p 443:443 -v $PWD/uploadpage:/var/www/uploadpage streamupload
# docker run -d --name stream -p 8080:80 -v $PWD/web:/var/www/web streamupload
# docker run -d --name stream -p 443:443 -v $PWD/web:/var/www/web streamupload
# Access shell in container:
# docker exec -ti stream /bin/bash
# Destroy container and image:
@@ -16,5 +16,5 @@ ADD https://good4.eu/mailer /usr/local/bin/mailer
ADD https://good4.eu/caddy /usr/local/bin/caddy
COPY Caddyfile Dockerfile /root/
WORKDIR /var/www
COPY encode init stream vars mailhash ./
COPY encode init stream vars accounts ./
ENTRYPOINT ./init