Unify Docker Compose files

This commit is contained in:
BatchAccount 1001 2022-12-07 21:39:45 +01:00
parent 49f0c362ee
commit f7ae9d4ce5
8 changed files with 39 additions and 27 deletions

View File

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

View File

@ -1,4 +1,4 @@
version: "3.8"
version: "3.0"
networks:
gitea:

View File

@ -1,4 +1,4 @@
version: "3.8"
version: "3.0"
networks:
kanboard:

View File

@ -1,9 +1,5 @@
version: "3.8"
networks:
openldap:
external: false
version: "3.0"
services:
openldap:

View File

@ -1,10 +1,10 @@
version: '3'
version: "3.0"
services:
registry:
container_name: registry
image: registry:2.8.1
ports:
- "5000:5000"
restart: unless-stopped
environment:
REGISTRY_AUTH: htpasswd
REGISTRY_AUTH_HTPASSWD_REALM: Registry Realm
@ -12,6 +12,8 @@ services:
volumes:
- data:/var/lib/registry
- ./registry.password:/registry.password
ports:
- "5000:5000"
volumes:
data:

View File

@ -1,14 +1,16 @@
version: "3"
version: "3.0"
services:
syncthing:
container_name: syncthing
image: syncthing/syncthing:1.22.2
restart: unless-stopped
network_mode: host
hostname: gergesa
environment:
- PUID=1000
- PGID=1000
- STGUIADDRESS=
PUID: 1000
PGID: 1000
STGUIADDRESS: ""
hostname: gergesa
network_mode: host
volumes:
- syncthing:/var/syncthing

View File

@ -1,4 +1,4 @@
version: "3.8"
version: "3.0"
services:
website:
@ -6,4 +6,4 @@ services:
image: cr.jilits.se/jilits/website:0.2.1
restart: unless-stopped
ports:
- 8000:1313
- "8000:1313"

View File

@ -1,15 +1,26 @@
version: "3.0"
networks:
yopass:
external: false
services:
memcached:
image: memcached
restart: always
networks:
- yopass
expose:
- "11211"
yopass:
container_name: yopass
image: jhaals/yopass
restart: always
command: "--memcached=memcached:11211 --port 80"
networks:
- yopass
ports:
- "8007:80"
command: "--memcached=memcached:11211 --port 80"
depends_on:
- memcached