[add] wsdd
This commit is contained in:
		
							parent
							
								
									24e104f75a
								
							
						
					
					
						commit
						8778b2719c
					
				
					 11 changed files with 60 additions and 10 deletions
				
			
		| 
						 | 
				
			
			@ -1,9 +1,9 @@
 | 
			
		|||
# docks
 | 
			
		||||
# thedocks
 | 
			
		||||
 | 
			
		||||
set of docker compose files
 | 
			
		||||
 | 
			
		||||
1. 
 | 
			
		||||
[tvheadend](/tvheadend)
 | 
			
		||||
 | 
			
		||||
1. [wireguard](/wireguard)
 | 
			
		||||
1[wireguard](/wireguard)
 | 
			
		||||
1. Item
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,5 +6,5 @@ services:
 | 
			
		|||
        image: donaldrich/crontab-ui
 | 
			
		||||
        container_name: crontab-ui
 | 
			
		||||
        ports:
 | 
			
		||||
          - 8000:8000
 | 
			
		||||
          - 8003:8000
 | 
			
		||||
        restart: unless-stopped  
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,5 +1,7 @@
 | 
			
		|||
# Gitea
 | 
			
		||||
 | 
			
		||||
##backup scripts
 | 
			
		||||
## backup scripts
 | 
			
		||||
 | 
			
		||||
from https://gist.github.com/sinbad/4bb771b916fa8facaf340af3fc49ee43
 | 
			
		||||
 | 
			
		||||
### backup_gitea.sh
 | 
			
		||||
| 
						 | 
				
			
			@ -18,13 +18,13 @@
 | 
			
		|||
set -e 
 | 
			
		||||
 | 
			
		||||
# Gitea config / SQL DB backup rotation
 | 
			
		||||
CONTAINER=gitea_server_1
 | 
			
		||||
CONTAINER=gitea
 | 
			
		||||
# Backup dir from our perspective
 | 
			
		||||
HOST_BACKUP_DIR="/volume1/backups/gitea"
 | 
			
		||||
HOST_BACKUP_DIR="/mnt/drive/backups"
 | 
			
		||||
# Git repo dir from our perspective (it's outside container)
 | 
			
		||||
HOST_GIT_REPO_DIR="/volume1/docker/gitea/git/repositories"
 | 
			
		||||
HOST_GIT_REPO_DIR="/mnt/drive/docker/thedocks/gitea/data/git/repositories"
 | 
			
		||||
# Git LFS dir from our perspective (it's outside container)
 | 
			
		||||
HOST_GIT_LFS_DIR="/volume1/docker/gitea/git/lfs"
 | 
			
		||||
HOST_GIT_LFS_DIR="/mnt/drive/docker/thedocks/gitea/data/git/lfs"
 | 
			
		||||
# Where we work on things (host and container)
 | 
			
		||||
TEMP_DIR="/tmp"
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,6 +1,7 @@
 | 
			
		|||
# piwigo notes
 | 
			
		||||
 | 
			
		||||
##Setup
 | 
			
		||||
 | 
			
		||||
1. Ensure empty folders `config` and `gallery`.
 | 
			
		||||
1. run `docker-compose up`
 | 
			
		||||
1. Activate plugins:
 | 
			
		||||
| 
						 | 
				
			
			@ -17,6 +18,11 @@
 | 
			
		|||
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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										7
									
								
								plantuml/DockerFile
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								plantuml/DockerFile
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,7 @@
 | 
			
		|||
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"]
 | 
			
		||||
							
								
								
									
										1
									
								
								wsdd/.gitignore
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								wsdd/.gitignore
									
										
									
									
										vendored
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
# ignore
 | 
			
		||||
							
								
								
									
										24
									
								
								wsdd/DockerFile
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								wsdd/DockerFile
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,24 @@
 | 
			
		|||
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" ] 
 | 
			
		||||
							
								
								
									
										1
									
								
								wsdd/README.md
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								wsdd/README.md
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
🐋 Web Service Discovery host daemon (wsdd)
 | 
			
		||||
							
								
								
									
										9
									
								
								wsdd/docker-compose.yml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								wsdd/docker-compose.yml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,9 @@
 | 
			
		|||
version: '3'
 | 
			
		||||
 | 
			
		||||
services:
 | 
			
		||||
  wsdd:
 | 
			
		||||
    wsdd: wsdd:0.0.0
 | 
			
		||||
    build: .
 | 
			
		||||
    container_name: wsdd-docker
 | 
			
		||||
    restart: unless-stopped
 | 
			
		||||
 
 | 
			
		||||
		Loading…
	
	Add table
		
		Reference in a new issue