Refactor service deployment + upload Compose files to the server #178

Merged
samsapti merged 24 commits from compose-files into main 2023-12-09 18:38:11 +00:00
3 changed files with 2 additions and 8 deletions
Showing only changes of commit bd074929ac - Show all commits

View file

@ -21,12 +21,6 @@
- docker-ce
- docker-compose-plugin
- name: Create docker-compose symlink
ansible.builtin.file:
name: /usr/local/bin/docker-compose
src: /usr/libexec/docker/cli-plugins/docker-compose
state: link
- name: Configure cron job to prune unused Docker data weekly
cron:
name: Prune unused Docker data

View file

@ -17,7 +17,7 @@ services:
- "./certs:/etc/nginx/certs:ro"
- "/var/run/docker.sock:/tmp/docker.sock:ro"
labels:
- com.github.nginx-proxy.nginx
- com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy
{% if letsencrypt_enabled %}
acme:

View file

@ -127,7 +127,7 @@ WEBSITE=https://{{ services.mailu.domain }}
# LOG_DRIVER=json-file
# Docker-compose project name, this will prepended to containers names.
COMPOSE_PROJECT_NAME=mail_server
COMPOSE_PROJECT_NAME=mailu
# Number of rounds used by the password hashing scheme
CREDENTIAL_ROUNDS=12