Compare commits

...

3 commits

3 changed files with 4 additions and 3 deletions

View file

@ -1,6 +1,6 @@
#!/usr/bin/python3
import os, sys, re, shutil
import os, sys, re, shutil, time
import filecmp
from glob import glob
from mako.template import Template
@ -343,6 +343,7 @@ def upProj(project):
if runPodman("pod", ["exists", f"pod_{project}"]).returncode == 0:
print(f"Tearing down stack for project {project}.")
runPodman("compose", ["-f", f"projects/{project}/compose.yaml.rendered", "down"])
time.sleep(0.25) # Give time to pasta to unbind port
print(f"Creating & starting stack for project {project}.")
runPodman("compose", ["-f", f"projects/{project}/compose.yaml.rendered", "up", "-d"])

View file

@ -1,7 +1,7 @@
services:
mailserver:
container_name: mailserver
image: docker.io/stalwartlabs/mail-server:v0.10.2
image: docker.io/stalwartlabs/mail-server:v0.10.5
network_mode: pasta:-a,${env['pasta']['mailserver']['ipv4']},-a,${env['pasta']['mailserver']['ipv6']}
restart: always
user: "${env['users']['mailserver']}:${env['users']['mailserver']}"

View file

@ -17,7 +17,7 @@ services:
discosrv:
container_name: syncthing-discosrv
image: docker.io/syncthing/discosrv:1
image: docker.io/syncthing/discosrv:1.27
network_mode: pasta
restart: always
command: