Compare commits
3 Commits
06765c002d
...
84fd26faec
| Author | SHA1 | Date | |
|---|---|---|---|
| 84fd26faec | |||
| 591879abd6 | |||
| e4ac14d259 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -8,3 +8,4 @@ swag/.donoteditthisfile.conf
|
|||||||
swag/nginx/worker_processes.conf
|
swag/nginx/worker_processes.conf
|
||||||
syncthing/
|
syncthing/
|
||||||
flood/.local
|
flood/.local
|
||||||
|
swag/www
|
||||||
|
|||||||
@ -19,13 +19,14 @@ services:
|
|||||||
image: lscr.io/linuxserver/swag
|
image: lscr.io/linuxserver/swag
|
||||||
container_name: swag
|
container_name: swag
|
||||||
restart: always
|
restart: always
|
||||||
|
dns: 1.1.1.1
|
||||||
cap_add:
|
cap_add:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
environment:
|
environment:
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
- TZ=CEST
|
- TZ=CEST
|
||||||
- URL=normalized.xyz
|
- URL=a.guiotte.fr
|
||||||
- SUBDOMAINS=wildcard
|
- SUBDOMAINS=wildcard
|
||||||
- VALIDATION=dns
|
- VALIDATION=dns
|
||||||
- DNSPLUGIN=ovh
|
- DNSPLUGIN=ovh
|
||||||
@ -40,6 +41,7 @@ services:
|
|||||||
image: ihatemoney/ihatemoney
|
image: ihatemoney/ihatemoney
|
||||||
container_name: money
|
container_name: money
|
||||||
restart: always
|
restart: always
|
||||||
|
dns: 1.1.1.1
|
||||||
volumes:
|
volumes:
|
||||||
- money-data:/database
|
- money-data:/database
|
||||||
environment:
|
environment:
|
||||||
@ -58,8 +60,8 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./flood:/config
|
- ./flood:/config
|
||||||
- /mnt/storage/download:/data
|
- /mnt/storage/download:/data
|
||||||
#ports:
|
ports:
|
||||||
# - 3001:3001
|
- 3001:3001
|
||||||
|
|
||||||
rtorrent:
|
rtorrent:
|
||||||
image: jesec/rtorrent
|
image: jesec/rtorrent
|
||||||
@ -76,9 +78,28 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- 6881:6881
|
- 6881:6881
|
||||||
|
|
||||||
|
|
||||||
|
radarr:
|
||||||
|
image: lscr.io/linuxserver/radarr:latest
|
||||||
|
container_name: radarr
|
||||||
|
dns: 1.1.1.1
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
- TZ=Europe/Paris
|
||||||
|
volumes:
|
||||||
|
- ./radarr:/config
|
||||||
|
- /mnt/storage/video/Films/:/movies
|
||||||
|
- /mnt/storage/download/:/downloads
|
||||||
|
ports:
|
||||||
|
- 7878:7878
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
|
||||||
syncthing:
|
syncthing:
|
||||||
image: lscr.io/linuxserver/syncthing:latest
|
image: lscr.io/linuxserver/syncthing:latest
|
||||||
container_name: syncthing
|
container_name: syncthing
|
||||||
|
dns: 1.1.1.1
|
||||||
hostname: drmanhattan #optional
|
hostname: drmanhattan #optional
|
||||||
environment:
|
environment:
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
@ -94,5 +115,67 @@ services:
|
|||||||
- 21027:21027/udp
|
- 21027:21027/udp
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
|
|
||||||
|
lychee-db:
|
||||||
|
image: lscr.io/linuxserver/mariadb:latest
|
||||||
|
container_name: lychee-db
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- lychee-db:/config
|
||||||
|
environment:
|
||||||
|
- MYSQL_ROOT_PASSWORD=rootpassword
|
||||||
|
- MYSQL_DATABASE=lychee
|
||||||
|
- MYSQL_USER=lychee
|
||||||
|
- MYSQL_PASSWORD=dbpassword
|
||||||
|
- PGID=1000
|
||||||
|
- PUID=1000
|
||||||
|
- TZ=Europe/Paris
|
||||||
|
|
||||||
|
|
||||||
|
lychee:
|
||||||
|
image: lscr.io/linuxserver/lychee:latest
|
||||||
|
container_name: lychee
|
||||||
|
restart: always
|
||||||
|
depends_on:
|
||||||
|
- lychee-db
|
||||||
|
volumes:
|
||||||
|
- lychee-config:/config
|
||||||
|
- lychee-pictures:/pictures
|
||||||
|
environment:
|
||||||
|
- DB_HOST=lychee-db
|
||||||
|
- DB_USERNAME=lychee
|
||||||
|
- DB_PASSWORD=dbpassword
|
||||||
|
- DB_DATABASE=lychee
|
||||||
|
- DB_PORT=3306
|
||||||
|
- PGID=1000
|
||||||
|
- PUID=1000
|
||||||
|
- TZ=Europe/Paris
|
||||||
|
|
||||||
|
|
||||||
|
zotero:
|
||||||
|
#image: lscr.io/linuxserver/nginx:latest
|
||||||
|
#image: sashgorokhov/webdav
|
||||||
|
build: zotero
|
||||||
|
container_name: zotero
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
- TZ=Europe/Paris
|
||||||
|
- USERNAME=user
|
||||||
|
- PASSWORD=passwd
|
||||||
|
volumes:
|
||||||
|
- zotero-data:/data
|
||||||
|
#- zotero-data:/media
|
||||||
|
restart: unless-stopped
|
||||||
|
# https://github.com/linuxserver/docker-baseimage-alpine-nginx/blob/master/Dockerfile
|
||||||
|
# https://github.com/linuxserver/docker-nginx/blob/master/Dockerfile
|
||||||
|
# https://github.com/sashgorokhov/docker-nginx-webdav/blob/master/Dockerfile
|
||||||
|
# XXX: Missing "nginx-extra" in my build?
|
||||||
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
money-data:
|
money-data:
|
||||||
|
zotero-data:
|
||||||
|
lychee-db:
|
||||||
|
lychee-config:
|
||||||
|
lychee-pictures:
|
||||||
|
|||||||
Binary file not shown.
40
swag/nginx/proxy-confs/lychee.subdomain.conf
Normal file
40
swag/nginx/proxy-confs/lychee.subdomain.conf
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
## Version 2021/05/18
|
||||||
|
# make sure that your dns has a cname set for lychee
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 443 ssl;
|
||||||
|
listen [::]:443 ssl;
|
||||||
|
|
||||||
|
server_name pics.*;
|
||||||
|
|
||||||
|
include /config/nginx/ssl.conf;
|
||||||
|
|
||||||
|
client_max_body_size 0;
|
||||||
|
|
||||||
|
# enable for ldap auth, fill in ldap details in ldap.conf
|
||||||
|
#include /config/nginx/ldap.conf;
|
||||||
|
|
||||||
|
# enable for Authelia
|
||||||
|
#include /config/nginx/authelia-server.conf;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
# enable the next two lines for http auth
|
||||||
|
#auth_basic "Restricted";
|
||||||
|
#auth_basic_user_file /config/nginx/.htpasswd;
|
||||||
|
|
||||||
|
# enable the next two lines for ldap auth
|
||||||
|
#auth_request /auth;
|
||||||
|
#error_page 401 =200 /ldaplogin;
|
||||||
|
|
||||||
|
# enable for Authelia
|
||||||
|
#include /config/nginx/authelia-location.conf;
|
||||||
|
|
||||||
|
include /config/nginx/proxy.conf;
|
||||||
|
include /config/nginx/resolver.conf;
|
||||||
|
set $upstream_app lychee;
|
||||||
|
set $upstream_port 80;
|
||||||
|
set $upstream_proto http;
|
||||||
|
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -1,39 +1 @@
|
|||||||
<html>
|
This is not the web page you are looking for.
|
||||||
<head>
|
|
||||||
<title>Welcome to your SWAG instance</title>
|
|
||||||
<style>
|
|
||||||
body{
|
|
||||||
font-family: Helvetica, Arial, sans-serif;
|
|
||||||
}
|
|
||||||
.message{
|
|
||||||
width:440px;
|
|
||||||
padding:20px 40px;
|
|
||||||
margin:0 auto;
|
|
||||||
background-color:#f9f9f9;
|
|
||||||
border:1px solid #ddd;
|
|
||||||
color: #1e3d62;
|
|
||||||
}
|
|
||||||
center{
|
|
||||||
margin:40px 0;
|
|
||||||
}
|
|
||||||
h1{
|
|
||||||
font-size: 18px;
|
|
||||||
line-height: 26px;
|
|
||||||
}
|
|
||||||
p{
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
|
||||||
a{
|
|
||||||
color: rgb(207, 48, 139);
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div class="message">
|
|
||||||
<h1>Welcome to your <a target="_blank" href="https://github.com/linuxserver/docker-swag">SWAG</a> instance</h1>
|
|
||||||
<p>A webserver and reverse proxy solution brought to you by <a target="_blank" href="https://www.linuxserver.io/">linuxserver.io</a> with php support and a built-in Certbot client.</p>
|
|
||||||
<p>We have an article on how to use swag here: <a target="_blank" href="https://docs.linuxserver.io/general/swag">docs.linuxserver.io</a></p>
|
|
||||||
<p>For help and support, please visit: <a target="_blank" href="https://www.linuxserver.io/support">linuxserver.io/support</a></p>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|||||||
Binary file not shown.
Loading…
Reference in New Issue
Block a user