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: services:
endlessh: endlessh:
image: lscr.io/linuxserver/endlessh:latest
container_name: endlessh container_name: endlessh
environment: image: lscr.io/linuxserver/endlessh:latest
- PUID=1000
- PGID=1000
- TZ=Europe/Stockholm
ports:
- 3322:2222
restart: unless-stopped 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: networks:
gitea: gitea:

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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