diff --git a/README.md b/README.md index 654bdf2..d34a0fb 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -# thedocks +# docks set of docker compose files 1. [tvheadend](/tvheadend) -1[wireguard](/wireguard) +1. [wireguard](/wireguard) 1. Item diff --git a/crontab-ui/docker-compose.yml b/crontab-ui/docker-compose.yml index 78e89d9..42a3bf1 100644 --- a/crontab-ui/docker-compose.yml +++ b/crontab-ui/docker-compose.yml @@ -6,5 +6,5 @@ services: image: donaldrich/crontab-ui container_name: crontab-ui ports: - - 8003:8000 + - 8000:8000 restart: unless-stopped diff --git a/gitea/README.md b/gitea/README.md index a36c52c..e33d255 100644 --- a/gitea/README.md +++ b/gitea/README.md @@ -1,9 +1,5 @@ # Gitea -## backup scripts +##backup scripts -from https://gist.github.com/sinbad/4bb771b916fa8facaf340af3fc49ee43 - -### backup_gitea.sh -writes to `/mnt/drive/backups/gitea/` -### restore +from https://gist.github.com/sinbad/4bb771b916fa8facaf340af3fc49ee43 \ No newline at end of file diff --git a/gitea/backup_gitea.sh b/gitea/backup_gitea.sh index aded7ab..4486a1f 100644 --- a/gitea/backup_gitea.sh +++ b/gitea/backup_gitea.sh @@ -18,13 +18,13 @@ set -e # Gitea config / SQL DB backup rotation -CONTAINER=gitea +CONTAINER=gitea_server_1 # Backup dir from our perspective -HOST_BACKUP_DIR="/mnt/drive/backups" +HOST_BACKUP_DIR="/volume1/backups/gitea" # Git repo dir from our perspective (it's outside container) -HOST_GIT_REPO_DIR="/mnt/drive/docker/thedocks/gitea/data/git/repositories" +HOST_GIT_REPO_DIR="/volume1/docker/gitea/git/repositories" # Git LFS dir from our perspective (it's outside container) -HOST_GIT_LFS_DIR="/mnt/drive/docker/thedocks/gitea/data/git/lfs" +HOST_GIT_LFS_DIR="/volume1/docker/gitea/git/lfs" # Where we work on things (host and container) TEMP_DIR="/tmp" diff --git a/gitea/restore_gitea_container.sh b/gitea/restore_gitea_container.sh index 94dec11..b2dbbd9 100644 --- a/gitea/restore_gitea_container.sh +++ b/gitea/restore_gitea_container.sh @@ -65,11 +65,11 @@ done # Generate all paths based on the last path component # Root of all the host versions of what gets mapped to /data in container -DATAROOT="$PWD/data" +DATAROOT="/volume1/docker" # Backup source folder, contains gitea_backup.zip, gitrepos_backup.tar.bz2 & lfs -BACKUPSRC="$PWD/gitea" +BACKUPSRC="/volume1/backups/gitea" CONFIG=$(basename $PWD) -DATADIR="$DATAROOT/$CONFIG" +DATADIR="/volume1/docker/$CONFIG" echo "Removing container" # Use --all in case it's been run manually diff --git a/gitea/restore_gitea_data.sh b/gitea/restore_gitea_data.sh index 0c86f26..d3447f6 100644 --- a/gitea/restore_gitea_data.sh +++ b/gitea/restore_gitea_data.sh @@ -31,8 +31,8 @@ if [[ "$1" == "--help" ]]; then fi DRYRUN=0 -SOURCE="gitea" -DATADIR="data" +SOURCE="" +DATADIR="" SQLDEST="" USER_UID=1000 GROUP_GID=1000 diff --git a/piwigo/README.md b/piwigo/README.md index c50125c..9fde21f 100644 --- a/piwigo/README.md +++ b/piwigo/README.md @@ -1,7 +1,6 @@ # piwigo notes ##Setup - 1. Ensure empty folders `config` and `gallery`. 1. run `docker-compose up` 1. Activate plugins: @@ -18,11 +17,6 @@ 1. `mount --bind /mnt/media/pictures/ /home/odroid/thedocks/piwigo/gallery/galleries/picassa` 1. run `Presync AutoRename` 1. Sync -###Source -``` -root@n2-plus:/mnt/media# -rsync -av root@odroid-n2.local:/mnt/drive/backups/velvet/PicasaStarter/pictures/Pictures/ pictures/ --delete -``` ## Based on https://github.com/jkirk/docker-piwigo/blob/main/docker-compose.yml diff --git a/piwigo/piwigo-db.env b/piwigo/piwigo-db.env index 9c4b362..8a54bef 100644 --- a/piwigo/piwigo-db.env +++ b/piwigo/piwigo-db.env @@ -2,4 +2,4 @@ MARIADB_ROOT_PASSWORD=uksapl MARIADB_DATABASE=thedb MARIADB_USER=piwigo -MARIADB_PASSWORD=piwigo +MARIADB_PASSWORD=piwigo \ No newline at end of file diff --git a/plantuml/DockerFile b/plantuml/DockerFile deleted file mode 100644 index 852dfea..0000000 --- a/plantuml/DockerFile +++ /dev/null @@ -1,7 +0,0 @@ -FROM openjdk:8u181-jdk-alpine3.8 -LABEL maintainer="Rob Bell" -ARG PLANTUML_VERSION=1.2020.0 -RUN apk add --no-cache graphviz wget ttf-dejavu && \ - wget "http://sourceforge.net/projects/plantuml/files/plantuml.${PLANTUML_VERSION}.jar/download" -O plantuml.jar -ENTRYPOINT ["java", "-jar", "plantuml.jar"] -CMD ["-p"] \ No newline at end of file diff --git a/wsdd/.gitignore b/wsdd/.gitignore deleted file mode 100644 index 94f7b77..0000000 --- a/wsdd/.gitignore +++ /dev/null @@ -1 +0,0 @@ -# ignore diff --git a/wsdd/DockerFile b/wsdd/DockerFile deleted file mode 100644 index 74d1011..0000000 --- a/wsdd/DockerFile +++ /dev/null @@ -1,24 +0,0 @@ -FROM alpine:latest as build - -LABEL org.label-schema.build-date=$BUILD_DATE \ - org.label-schema.name="wsdd" \ - org.label-schema.description=" Web Service Discovery host daemon (wsdd) in a docker container " \ - org.label-schema.url="https://guillaumedsde.gitlab.io/docker-wsdd/" \ - org.label-schema.vcs-ref="$VCS_REF" \ - org.label-schema.version="$VERSION" \ - org.label-schema.vcs-url="https://github.com/guillaumedsde/docker-wsdd" \ - org.label-schema.vendor="guillaumedsde" \ - org.label-schema.schema-version="1.0" - -ARG VERSION=master - -WORKDIR / - -RUN wget "https://raw.githubusercontent.com/christgau/wsdd/${VERSION}/src/wsdd.py" -O /wsdd \ - && chmod 755 /wsdd - -FROM gcr.io/distroless/python3 - -COPY --from=build /wsdd /usr/bin/wsdd - -ENTRYPOINT [ "python", "/usr/bin/wsdd" ] \ No newline at end of file diff --git a/wsdd/README.md b/wsdd/README.md deleted file mode 100644 index ef68230..0000000 --- a/wsdd/README.md +++ /dev/null @@ -1 +0,0 @@ -🐋 Web Service Discovery host daemon (wsdd) diff --git a/wsdd/docker-compose.yml b/wsdd/docker-compose.yml deleted file mode 100644 index c05a970..0000000 --- a/wsdd/docker-compose.yml +++ /dev/null @@ -1,9 +0,0 @@ -version: '3' - -services: - wsdd: - wsdd: wsdd:0.0.0 - build: . - container_name: wsdd-docker - restart: unless-stopped -