mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 23:08:06 +02:00
solved docker-compose naming bugs
This commit is contained in:
@@ -43,7 +43,7 @@ to verify that there aren't port conflicts
|
||||
Before you can use Mailu, you must create the primary administrator user account. This should be admin@{{hostname}}. Use the following command, changing PASSWORD to your liking:
|
||||
|
||||
```bash
|
||||
server_docker-compose -p mailu exec admin flask mailu admin {{admin}} {{hostname}} PASSWORD
|
||||
docker-compose -p mailu exec admin flask mailu admin {{admin}} {{hostname}} PASSWORD
|
||||
```
|
||||
|
||||
### cli user management
|
||||
@@ -52,7 +52,7 @@ How to manage users is described here: https://mailu.io/master/cli.html
|
||||
### Up
|
||||
|
||||
```bash
|
||||
server_docker-compose -p mailu up -d
|
||||
docker-compose -p mailu up -d
|
||||
```
|
||||
## debug
|
||||
|
||||
|
@@ -1,8 +1,8 @@
|
||||
---
|
||||
- name: recreate mailu
|
||||
command:
|
||||
cmd: server_docker-compose -p mailu up -d --force-recreate
|
||||
chdir: /home/administrator/server_docker-compose/mailu/
|
||||
cmd: docker-compose -p mailu up -d --force-recreate
|
||||
chdir: /home/administrator/docker-compose/mailu/
|
||||
environment:
|
||||
COMPOSE_HTTP_TIMEOUT: 900
|
||||
DOCKER_CLIENT_TIMEOUT: 900
|
||||
|
@@ -9,9 +9,9 @@
|
||||
template: src=roles/server_native-docker-reverse-proxy/templates/domain.conf.j2 dest=/etc/nginx/conf.d/{{domain}}.conf
|
||||
notify: restart nginx
|
||||
|
||||
- name: "create /home/administrator/server_docker-compose/mailu"
|
||||
- name: "create /home/administrator/docker-compose/mailu"
|
||||
file:
|
||||
path: "/home/administrator/server_docker-compose/mailu"
|
||||
path: "/home/administrator/docker-compose/mailu"
|
||||
state: directory
|
||||
mode: 0755
|
||||
|
||||
@@ -33,12 +33,12 @@
|
||||
state: directory
|
||||
mode: 0755
|
||||
|
||||
- name: add server_docker-compose.yml
|
||||
template: src=server_docker-compose.yml.j2 dest=/home/administrator/server_docker-compose/mailu/server_docker-compose.yml
|
||||
- name: add docker-compose.yml
|
||||
template: src=docker-compose.yml.j2 dest=/home/administrator/docker-compose/mailu/docker-compose.yml
|
||||
notify: recreate mailu
|
||||
|
||||
- name: add mailu.env
|
||||
template: src=mailu.env.j2 dest=/home/administrator/server_docker-compose/mailu/mailu.env
|
||||
template: src=mailu.env.j2 dest=/home/administrator/docker-compose/mailu/mailu.env
|
||||
notify: recreate mailu
|
||||
|
||||
- name: add deploy-letsencrypt-mailu.sh
|
||||
|
@@ -114,10 +114,10 @@ WEBSITE=https://{{domain}}
|
||||
# Log driver for front service. Possible values:
|
||||
# json-file (default)
|
||||
# journald (On systemd platforms, useful for Fail2Ban integration)
|
||||
# syslog (Non systemd platforms, Fail2Ban integration. Disables `server_docker-compose log` for front!)
|
||||
# syslog (Non systemd platforms, Fail2Ban integration. Disables `docker-compose log` for front!)
|
||||
# LOG_DRIVER=json-file
|
||||
|
||||
# server_docker-compose project name, this will prepended to containers names.
|
||||
# docker-compose project name, this will prepended to containers names.
|
||||
COMPOSE_PROJECT_NAME=mailu
|
||||
|
||||
# Default password scheme used for newly created accounts and changed passwords
|
||||
|
Reference in New Issue
Block a user