Add endlessh and yopass

This commit is contained in:
root 2022-11-27 21:21:58 +01:00
parent 0c9f753b60
commit 72e2e6e4f9
4 changed files with 61 additions and 0 deletions

View File

@ -0,0 +1,17 @@
[Unit]
Description=Docker Compose Endlessh Application Service
Requires=docker.service
After=docker.service
[Service]
WorkingDirectory=/opt/endlessh
ExecStart=/usr/bin/docker-compose --project-name endlessh up
ExecStop=/usr/bin/docker-compose --project-name endlessh down
TimeoutStartSec=0
Restart=on-failure
StartLimitIntervalSec=60
StartLimitBurst=3
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1,17 @@
[Unit]
Description=Docker Compose Yopass Application Service
Requires=docker.service
After=docker.service
[Service]
WorkingDirectory=/opt/yopass
ExecStart=/usr/bin/docker-compose --project-name yopass up
ExecStop=/usr/bin/docker-compose --project-name yopass down
TimeoutStartSec=0
Restart=on-failure
StartLimitIntervalSec=60
StartLimitBurst=3
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1,12 @@
version: "2.1"
services:
endlessh:
image: lscr.io/linuxserver/endlessh:latest
container_name: endlessh
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Stockholm
ports:
- 3322:2222
restart: unless-stopped

View File

@ -0,0 +1,15 @@
version: "3.0"
services:
memcached:
image: memcached
restart: always
expose:
- "11211"
yopass:
image: jhaals/yopass
restart: always
ports:
- "8007:80"
command: "--memcached=memcached:11211 --port 80"