diff --git a/.gitignore b/.gitignore index fdcdebc..63e549c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ nginx-reverse-proxy/ssl bitwarden/data +vaultwarden/data web/** !web/blog web/blog/** diff --git a/README.md b/README.md new file mode 100644 index 0000000..98451f3 --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# Steps to reinstall +- Clone this repo onto new server +- Run light-install.sh +- Update the hosts file as mentioned in the output of the light-install +- Run start.sh + +That should do it. \ No newline at end of file diff --git a/gitea/docker-compose.yml b/gitea/docker-compose.yml index f7c6faf..dc23e6b 100644 --- a/gitea/docker-compose.yml +++ b/gitea/docker-compose.yml @@ -7,7 +7,7 @@ networks: services: server: - image: gitea/gitea:1.13.6 + image: gitea/gitea:latest container_name: gitea environment: - USER_UID=1000 diff --git a/homeassistant/docker-compose.yml b/homeassistant/docker-compose.yml deleted file mode 100644 index af27a40..0000000 --- a/homeassistant/docker-compose.yml +++ /dev/null @@ -1,18 +0,0 @@ -version: '3' -services: - homeassistant: - image: homeassistant/raspberrypi4-homeassistant:stable - container_name: homeassistant - restart: unless-stopped - expose: - - '8123' - volumes: - - /etc/localtime:/etc/localtime:ro - - ./config:/config - networks: - - homeassistant - -networks: - homeassistant: - external: - name: homeassistant \ No newline at end of file diff --git a/light-install.sh b/light-install.sh index ad14c59..b1d69aa 100644 --- a/light-install.sh +++ b/light-install.sh @@ -23,9 +23,8 @@ echo ">>Done" echo "Don't forget to edit /etc/hosts to add the new sites 172.31.30.78 blog -172.31.30.78 bitwarden +172.31.30.78 vaultwarden 172.31.30.78 gitea -172.31.30.78 motioneye 172.31.30.78 homeassistant" echo "Also, get the blog code deployed to the git instance and pull it back down here to get the blog running." echo "The blog is tricky, because it needs the theme to work, don't forget to clone that as well." diff --git a/motioneye/docker-compose.yml b/motioneye/docker-compose.yml deleted file mode 100644 index 24ca3c5..0000000 --- a/motioneye/docker-compose.yml +++ /dev/null @@ -1,22 +0,0 @@ -version: "3.5" -services: - motioneye: - image: ccrisan/motioneye:master-armhf - container_name: motioneye - networks: - - motioneye - expose: - - "8081" - - "8765" - volumes: - - etc_motioneye:/etc/motioneye - - var_lib_motioneye:/var/lib/motioneye - -volumes: - etc_motioneye: - var_lib_motioneye: - -networks: - motioneye: - external: - name: motioneye \ No newline at end of file diff --git a/my_services.service b/my_services.service new file mode 100644 index 0000000..7e208de --- /dev/null +++ b/my_services.service @@ -0,0 +1,8 @@ +[Unit] +Description=Launch Service for my self-hosted services. + +[Service] +ExecStart=/home/ubuntu/start.sh & + +[Install] +WantedBy=multi-user.target diff --git a/nginx-reverse-proxy/backend-not-found.html b/nginx-reverse-proxy/backend-not-found.html index bebb95c..990232e 100644 --- a/nginx-reverse-proxy/backend-not-found.html +++ b/nginx-reverse-proxy/backend-not-found.html @@ -2,5 +2,6 @@
This is a test.