rainloop
parent
b890e22d0d
commit
612c3d1d36
5
Makefile
5
Makefile
|
@ -1,4 +1,4 @@
|
|||
images=agate archivebox ansible backup buku ddclient git-daemon gitolite gitolite-pystagit rss-bridge pleroma sassc syncthing tasks tor transmission vdirsyncer xandikos nfs-server dendrite
|
||||
images=agate archivebox ansible backup buku ddclient git-daemon gitolite gitolite-pystagit rss-bridge pleroma sassc syncthing tasks tor transmission vdirsyncer xandikos nfs-server dendrite rainloop
|
||||
|
||||
.PHONY: all $(images)
|
||||
all: $(images)
|
||||
|
@ -64,3 +64,6 @@ xandikos:
|
|||
|
||||
dendrite:
|
||||
$(BUILD)
|
||||
|
||||
rainloop:
|
||||
$(BUILD)
|
||||
|
|
|
@ -30,6 +30,7 @@ useful.
|
|||
it and have it do useful things through docker in response to triggers
|
||||
* nfs-server
|
||||
* pleroma
|
||||
* rainloop
|
||||
* sassc
|
||||
* syncthing
|
||||
* tasks: intended to run a cron daemon to run arbitrary periodic tasks. I mount
|
||||
|
|
|
@ -0,0 +1,35 @@
|
|||
FROM alpine:3.13
|
||||
|
||||
RUN apk add --no-cache \
|
||||
nginx \
|
||||
curl \
|
||||
php7-fpm \
|
||||
php7 \
|
||||
php7-curl \
|
||||
php7-iconv \
|
||||
php7-json \
|
||||
php7-dom && \
|
||||
mkdir -p /var/lib/www/rainloop && \
|
||||
cd /var/lib/www/rainloop && \
|
||||
curl -sL https://repository.rainloop.net/installer.php | php
|
||||
|
||||
RUN addgroup \
|
||||
--gid 10001 \
|
||||
rainloop && \
|
||||
adduser \
|
||||
--uid 10000 \
|
||||
--home /var/lib/www/rainloop \
|
||||
--ingroup rainloop \
|
||||
--disabled-password \
|
||||
--shell /sbin/nologin \
|
||||
rainloop && \
|
||||
mkdir /run/nginx && \
|
||||
chown -R rainloop:rainloop \
|
||||
/var/lib/www/rainloop \
|
||||
/var/log/php7 \
|
||||
/var/lib/nginx \
|
||||
/var/log/nginx \
|
||||
/run/nginx
|
||||
|
||||
USER rainloop
|
||||
WORKDIR /var/lib/www/rainloop
|
|
@ -0,0 +1,10 @@
|
|||
USERNAME = rilla
|
||||
IMG_NAME = rainloop
|
||||
|
||||
.PHONY: build build-nc
|
||||
|
||||
build: Dockerfile
|
||||
docker build -t $(USERNAME)/$(IMG_NAME) .
|
||||
|
||||
build-nc: Dockerfile
|
||||
docker build --no-cache -t $(USERNAME)/$(IMG_NAME) .
|
Loading…
Reference in New Issue