diff --git a/docker-compose.yml b/docker-compose.yml index 18ce2bc..55d7007 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,7 @@ version: '2' +name: mailuwuemail + volumes: # SSL certs: @@ -49,6 +51,7 @@ services: restart: always webmail: image: docker.io/roundcube/roundcubemail:latest + hostname: webmail.uwu.email container_name: webmail restart: always expose: diff --git a/docker-update.sh b/docker-update.sh new file mode 100755 index 0000000..ac56153 --- /dev/null +++ b/docker-update.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +docker compose up --force-recreate --build -d --pull always +docker image prune -f