[diun/homepage/syncthing-discosrv] Use pasta networking

This commit is contained in:
Viyurz 2024-10-08 16:28:21 +02:00
parent 5a35231318
commit 441c7f21de
Signed by: Viyurz
SSH key fingerprint: SHA256:IskOHTmhHSJIvAt04N6aaxd5SZCVWW1Guf9tEcxIMj8
3 changed files with 3 additions and 4 deletions

View file

@ -2,6 +2,7 @@ services:
diun: diun:
container_name: diun container_name: diun
image: docker.io/crazymax/diun:4 image: docker.io/crazymax/diun:4
network_mode: pasta
restart: always restart: always
user: ${env['users']['diun']}:${env['users']['diun']} user: ${env['users']['diun']}:${env['users']['diun']}
command: serve command: serve
@ -11,9 +12,5 @@ services:
- ./images.yml:/etc/diun/images.yml:ro - ./images.yml:/etc/diun/images.yml:ro
- data:/data - data:/data
networks:
default:
enable_ipv6: true
volumes: volumes:
data: data:

View file

@ -2,6 +2,7 @@ services:
homepage: homepage:
container_name: homepage container_name: homepage
image: git.ahur.ac/viyurz/homepage:latest image: git.ahur.ac/viyurz/homepage:latest
network_mode: pasta
restart: always restart: always
user: ${env['users']['homepage']}:${env['users']['homepage']} user: ${env['users']['homepage']}:${env['users']['homepage']}
ports: ports:

View file

@ -18,6 +18,7 @@ services:
discosrv: discosrv:
container_name: syncthing-discosrv container_name: syncthing-discosrv
image: docker.io/syncthing/discosrv:1 image: docker.io/syncthing/discosrv:1
network_mode: pasta
restart: always restart: always
command: command:
- "-http" - "-http"