Server scripts

This commit is contained in:
Martin Bauer
2021-09-11 10:18:47 +02:00
parent f1d104a224
commit 2a251d2700
15 changed files with 175 additions and 0 deletions

View File

@@ -0,0 +1 @@
docker run -d --restart=always --name home_influx -p 8086:8086 -v /volumes/influxdb_data/:/var/lib/influxdb influxdb

View File

@@ -0,0 +1,17 @@
FROM ubuntu
MAINTAINER "Martin Bauer"
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update
RUN apt-get upgrade -y && apt-get install -y nginx
ADD tagspaces /var/www/
RUN echo "daemon off;" >> /etc/nginx/nginx.conf
RUN rm /etc/nginx/sites-enabled/*
ADD nginx.conf /etc/nginx/conf.d/tagspaces.conf
CMD nginx

View File

@@ -0,0 +1,10 @@
server {
listen 80;
server_name "";
root /var/www/;
location / {
index index.html;
}
}