mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-12-27 04:25:02 +01:00
solved docker-compose naming bugs
This commit is contained in:
parent
b2347d3fda
commit
3917466ee6
@ -2,7 +2,7 @@
|
|||||||
community.general.pacman:
|
community.general.pacman:
|
||||||
name:
|
name:
|
||||||
- docker
|
- docker
|
||||||
- server_docker-compose
|
- docker-compose
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Adding user {{client_username}} to relevant arduino usergroups
|
- name: Adding user {{client_username}} to relevant arduino usergroups
|
||||||
|
@ -2,17 +2,17 @@
|
|||||||
|
|
||||||
## new setup
|
## new setup
|
||||||
```bash
|
```bash
|
||||||
cd /home/administrator/server_docker-compose/akaunting/
|
cd /home/administrator/docker-compose/akaunting/
|
||||||
export COMPOSE_HTTP_TIMEOUT=600
|
export COMPOSE_HTTP_TIMEOUT=600
|
||||||
export DOCKER_CLIENT_TIMEOUT=600
|
export DOCKER_CLIENT_TIMEOUT=600
|
||||||
AKAUNTING_SETUP=true server_docker-compose -p akaunting up -d
|
AKAUNTING_SETUP=true docker-compose -p akaunting up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
Check Webinterface and then execute:
|
Check Webinterface and then execute:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
server_docker-compose down
|
docker-compose down
|
||||||
server_docker-compose -p akaunting up -d
|
docker-compose -p akaunting up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
## administration
|
## administration
|
||||||
@ -68,17 +68,17 @@ export COMPOSE_HTTP_TIMEOUT=600
|
|||||||
export DOCKER_CLIENT_TIMEOUT=600
|
export DOCKER_CLIENT_TIMEOUT=600
|
||||||
|
|
||||||
# destroy all containers
|
# destroy all containers
|
||||||
cd /home/administrator/server_docker-compose/akaunting/ &&
|
cd /home/administrator/docker-compose/akaunting/ &&
|
||||||
server_docker-compose down &&
|
docker-compose down &&
|
||||||
docker network prune -f
|
docker network prune -f
|
||||||
|
|
||||||
# delete all volumes
|
# delete all volumes
|
||||||
docker volume rm akaunting_akaunting-data akaunting_akaunting-db akaunting_akaunting-modules
|
docker volume rm akaunting_akaunting-data akaunting_akaunting-db akaunting_akaunting-modules
|
||||||
|
|
||||||
# rebuild containers
|
# rebuild containers
|
||||||
server_docker-compose pull &&
|
docker-compose pull &&
|
||||||
server_docker-compose build &&
|
docker-compose build &&
|
||||||
server_docker-compose -p akaunting up -d --force-recreate
|
docker-compose -p akaunting up -d --force-recreate
|
||||||
|
|
||||||
# recover all volumes
|
# recover all volumes
|
||||||
cd /home/administrator/scripts/docker-volume-backup &&
|
cd /home/administrator/scripts/docker-volume-backup &&
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: setup akaunting
|
- name: setup akaunting
|
||||||
command:
|
command:
|
||||||
cmd: server_docker-compose -p akaunting up -d --force-recreate
|
cmd: docker-compose -p akaunting up -d --force-recreate
|
||||||
chdir: "{{docker_compose_akaunting_path}}"
|
chdir: "{{docker_compose_akaunting_path}}"
|
||||||
environment:
|
environment:
|
||||||
#AKAUNTING_SETUP: true
|
#AKAUNTING_SETUP: true
|
||||||
|
@ -1 +1 @@
|
|||||||
docker_compose_akaunting_path: "/home/administrator/server_docker-compose/akaunting/"
|
docker_compose_akaunting_path: "/home/administrator/docker-compose/akaunting/"
|
||||||
|
@ -5,7 +5,7 @@ Role to deploy [BigBlueButton](https://bigbluebutton.org/).
|
|||||||
|
|
||||||
### cleanup
|
### cleanup
|
||||||
```bash
|
```bash
|
||||||
server_docker-compose down;
|
docker-compose down;
|
||||||
docker volume rm bigbluebutton_bigbluebutton bigbluebutton_html5-static bigbluebutton_vol-freeswitch bigbluebutton_vol-kurento bigbluebutton_vol-mediasoup bigbluebutton_database
|
docker volume rm bigbluebutton_bigbluebutton bigbluebutton_html5-static bigbluebutton_vol-freeswitch bigbluebutton_vol-kurento bigbluebutton_vol-mediasoup bigbluebutton_database
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
- name: create server_docker-compose.yml for bigbluebutton
|
- name: create docker-compose.yml for bigbluebutton
|
||||||
command:
|
command:
|
||||||
cmd: bash ./scripts/generate-compose
|
cmd: bash ./scripts/generate-compose
|
||||||
chdir: "{{docker_compose_bigbluebutton_path}}"
|
chdir: "{{docker_compose_bigbluebutton_path}}"
|
||||||
@ -9,7 +9,7 @@
|
|||||||
listen: setup bigbluebutton
|
listen: setup bigbluebutton
|
||||||
- name: docker compose up bigbluebutton
|
- name: docker compose up bigbluebutton
|
||||||
command:
|
command:
|
||||||
cmd: server_docker-compose -p bigbluebutton up -d --force-recreate
|
cmd: docker-compose -p bigbluebutton up -d --force-recreate
|
||||||
chdir: "{{docker_compose_bigbluebutton_path}}"
|
chdir: "{{docker_compose_bigbluebutton_path}}"
|
||||||
environment:
|
environment:
|
||||||
COMPOSE_HTTP_TIMEOUT: 600
|
COMPOSE_HTTP_TIMEOUT: 600
|
||||||
|
@ -1 +1 @@
|
|||||||
docker_compose_bigbluebutton_path: "/home/administrator/server_docker-compose/bigbluebutton/"
|
docker_compose_bigbluebutton_path: "/home/administrator/docker-compose/bigbluebutton/"
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: recreate server_docker-elk
|
- name: recreate server_docker-elk
|
||||||
command:
|
command:
|
||||||
cmd: server_docker-compose up -d --force-recreate
|
cmd: docker-compose up -d --force-recreate
|
||||||
chdir: "{{docker_elk_compose_path}}"
|
chdir: "{{docker_elk_compose_path}}"
|
||||||
environment:
|
environment:
|
||||||
COMPOSE_HTTP_TIMEOUT: 600
|
COMPOSE_HTTP_TIMEOUT: 600
|
||||||
|
@ -31,8 +31,8 @@
|
|||||||
update: yes
|
update: yes
|
||||||
notify: recreate server_docker-elk
|
notify: recreate server_docker-elk
|
||||||
|
|
||||||
- name: copy server_docker-compose.yml
|
- name: copy docker-compose.yml
|
||||||
template: src=server_docker-compose.yml.j2 dest={{docker_elk_compose_path}}server_docker-compose.yml
|
template: src=docker-compose.yml.j2 dest={{docker_elk_compose_path}}docker-compose.yml
|
||||||
notify: recreate server_docker-elk
|
notify: recreate server_docker-elk
|
||||||
|
|
||||||
- name: copy elasticsearch.yml
|
- name: copy elasticsearch.yml
|
||||||
|
@ -5,7 +5,7 @@ This role doesn't work and needs to be implemented
|
|||||||
## cleanup
|
## cleanup
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
server_docker-compose down && docker volume rm funkwhale_data
|
docker-compose down && docker volume rm funkwhale_data
|
||||||
```
|
```
|
||||||
|
|
||||||
## further information
|
## further information
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: recreate funkwhale
|
- name: recreate funkwhale
|
||||||
command:
|
command:
|
||||||
cmd: server_docker-compose -p funkwhale up -d --force-recreate
|
cmd: docker-compose -p funkwhale up -d --force-recreate
|
||||||
chdir: /home/administrator/server_docker-compose/funkwhale/
|
chdir: /home/administrator/docker-compose/funkwhale/
|
||||||
environment:
|
environment:
|
||||||
COMPOSE_HTTP_TIMEOUT: 600
|
COMPOSE_HTTP_TIMEOUT: 600
|
||||||
DOCKER_CLIENT_TIMEOUT: 600
|
DOCKER_CLIENT_TIMEOUT: 600
|
||||||
|
@ -12,8 +12,8 @@
|
|||||||
state: directory
|
state: directory
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
|
||||||
- name: add server_docker-compose.yml
|
- name: add docker-compose.yml
|
||||||
template: src=server_docker-compose.yml.j2 dest={{docker_compose_path}}server_docker-compose.yml
|
template: src=docker-compose.yml.j2 dest={{docker_compose_path}}docker-compose.yml
|
||||||
notify: recreate funkwhale
|
notify: recreate funkwhale
|
||||||
|
|
||||||
- name: add .env
|
- name: add .env
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
docker_compose_path: "/home/administrator/server_docker-compose/funkwhale/"
|
docker_compose_path: "/home/administrator/docker-compose/funkwhale/"
|
||||||
client_max_body_size: "512M"
|
client_max_body_size: "512M"
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
## update
|
## update
|
||||||
```bash
|
```bash
|
||||||
cd /home/administrator/server_docker-compose/gitea/
|
cd /home/administrator/docker-compose/gitea/
|
||||||
server_docker-compose down
|
docker-compose down
|
||||||
server_docker-compose pull
|
docker-compose pull
|
||||||
server_docker-compose up -d
|
docker-compose up -d
|
||||||
```
|
```
|
||||||
Keep in mind to track and to don't interrupt the update process until the migration is done.
|
Keep in mind to track and to don't interrupt the update process until the migration is done.
|
||||||
|
|
||||||
@ -19,7 +19,7 @@ Keep in mind to track and to don't interrupt the update process until the migrat
|
|||||||
|
|
||||||
## recreate
|
## recreate
|
||||||
```bash
|
```bash
|
||||||
cd /home/administrator/server_docker-compose/gitea/ && server_docker-compose -p gitea up -d --force-recreate
|
cd /home/administrator/docker-compose/gitea/ && docker-compose -p gitea up -d --force-recreate
|
||||||
```
|
```
|
||||||
|
|
||||||
## database access
|
## database access
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: recreate gitea
|
- name: recreate gitea
|
||||||
command:
|
command:
|
||||||
cmd: server_docker-compose -p gitea up -d --force-recreate
|
cmd: docker-compose -p gitea up -d --force-recreate
|
||||||
chdir: /home/administrator/server_docker-compose/gitea/
|
chdir: /home/administrator/docker-compose/gitea/
|
||||||
environment:
|
environment:
|
||||||
COMPOSE_HTTP_TIMEOUT: 600
|
COMPOSE_HTTP_TIMEOUT: 600
|
||||||
DOCKER_CLIENT_TIMEOUT: 600
|
DOCKER_CLIENT_TIMEOUT: 600
|
||||||
|
@ -6,12 +6,12 @@
|
|||||||
template: src=roles/server_native-docker-reverse-proxy/templates/domain.conf.j2 dest=/etc/nginx/conf.d/{{domain}}.conf
|
template: src=roles/server_native-docker-reverse-proxy/templates/domain.conf.j2 dest=/etc/nginx/conf.d/{{domain}}.conf
|
||||||
notify: restart nginx
|
notify: restart nginx
|
||||||
|
|
||||||
- name: "create /home/administrator/server_docker-compose/gitea/"
|
- name: "create /home/administrator/docker-compose/gitea/"
|
||||||
file:
|
file:
|
||||||
path: "/home/administrator/server_docker-compose/gitea/"
|
path: "/home/administrator/docker-compose/gitea/"
|
||||||
state: directory
|
state: directory
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
|
||||||
- name: add server_docker-compose.yml
|
- name: add docker-compose.yml
|
||||||
template: src=server_docker-compose.yml.j2 dest=/home/administrator/server_docker-compose/gitea/server_docker-compose.yml
|
template: src=docker-compose.yml.j2 dest=/home/administrator/docker-compose/gitea/docker-compose.yml
|
||||||
notify: recreate gitea
|
notify: recreate gitea
|
||||||
|
@ -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:
|
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
|
```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
|
### cli user management
|
||||||
@ -52,7 +52,7 @@ How to manage users is described here: https://mailu.io/master/cli.html
|
|||||||
### Up
|
### Up
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
server_docker-compose -p mailu up -d
|
docker-compose -p mailu up -d
|
||||||
```
|
```
|
||||||
## debug
|
## debug
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: recreate mailu
|
- name: recreate mailu
|
||||||
command:
|
command:
|
||||||
cmd: server_docker-compose -p mailu up -d --force-recreate
|
cmd: docker-compose -p mailu up -d --force-recreate
|
||||||
chdir: /home/administrator/server_docker-compose/mailu/
|
chdir: /home/administrator/docker-compose/mailu/
|
||||||
environment:
|
environment:
|
||||||
COMPOSE_HTTP_TIMEOUT: 900
|
COMPOSE_HTTP_TIMEOUT: 900
|
||||||
DOCKER_CLIENT_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
|
template: src=roles/server_native-docker-reverse-proxy/templates/domain.conf.j2 dest=/etc/nginx/conf.d/{{domain}}.conf
|
||||||
notify: restart nginx
|
notify: restart nginx
|
||||||
|
|
||||||
- name: "create /home/administrator/server_docker-compose/mailu"
|
- name: "create /home/administrator/docker-compose/mailu"
|
||||||
file:
|
file:
|
||||||
path: "/home/administrator/server_docker-compose/mailu"
|
path: "/home/administrator/docker-compose/mailu"
|
||||||
state: directory
|
state: directory
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
|
||||||
@ -33,12 +33,12 @@
|
|||||||
state: directory
|
state: directory
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
|
||||||
- name: add server_docker-compose.yml
|
- name: add docker-compose.yml
|
||||||
template: src=server_docker-compose.yml.j2 dest=/home/administrator/server_docker-compose/mailu/server_docker-compose.yml
|
template: src=docker-compose.yml.j2 dest=/home/administrator/docker-compose/mailu/docker-compose.yml
|
||||||
notify: recreate mailu
|
notify: recreate mailu
|
||||||
|
|
||||||
- name: add mailu.env
|
- 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
|
notify: recreate mailu
|
||||||
|
|
||||||
- name: add deploy-letsencrypt-mailu.sh
|
- name: add deploy-letsencrypt-mailu.sh
|
||||||
|
@ -114,10 +114,10 @@ WEBSITE=https://{{domain}}
|
|||||||
# Log driver for front service. Possible values:
|
# Log driver for front service. Possible values:
|
||||||
# json-file (default)
|
# json-file (default)
|
||||||
# journald (On systemd platforms, useful for Fail2Ban integration)
|
# 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
|
# 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
|
COMPOSE_PROJECT_NAME=mailu
|
||||||
|
|
||||||
# Default password scheme used for newly created accounts and changed passwords
|
# Default password scheme used for newly created accounts and changed passwords
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
# docker mastodon
|
# docker mastodon
|
||||||
## create configuration
|
## create configuration
|
||||||
```bash
|
```bash
|
||||||
server_docker-compose run --rm web bundle exec rake mastodon:setup
|
docker-compose run --rm web bundle exec rake mastodon:setup
|
||||||
```
|
```
|
||||||
## cleanup
|
## cleanup
|
||||||
```bash
|
```bash
|
||||||
cd /home/administrator/server_docker-compose/mastodon/
|
cd /home/administrator/docker-compose/mastodon/
|
||||||
server_docker-compose down
|
docker-compose down
|
||||||
docker volume rm mastodon_data mastodon_database mastodon_redis
|
docker volume rm mastodon_data mastodon_database mastodon_redis
|
||||||
cd /home/administrator/server_docker-compose/ &&
|
cd /home/administrator/docker-compose/ &&
|
||||||
rm -vR /home/administrator/server_docker-compose/mastodon
|
rm -vR /home/administrator/docker-compose/mastodon
|
||||||
```
|
```
|
||||||
|
|
||||||
## access terminal
|
## access terminal
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: recreate mastodon
|
- name: recreate mastodon
|
||||||
command:
|
command:
|
||||||
cmd: server_docker-compose -p mastodon up -d --force-recreate
|
cmd: docker-compose -p mastodon up -d --force-recreate
|
||||||
chdir: "{{docker_compose_mastodon_path}}"
|
chdir: "{{docker_compose_mastodon_path}}"
|
||||||
environment:
|
environment:
|
||||||
COMPOSE_HTTP_TIMEOUT: 600
|
COMPOSE_HTTP_TIMEOUT: 600
|
||||||
|
@ -12,8 +12,8 @@
|
|||||||
state: directory
|
state: directory
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
|
||||||
- name: copy server_docker-compose.yml
|
- name: copy docker-compose.yml
|
||||||
template: src=server_docker-compose.yml.j2 dest={{docker_compose_mastodon_path}}server_docker-compose.yml
|
template: src=docker-compose.yml.j2 dest={{docker_compose_mastodon_path}}docker-compose.yml
|
||||||
notify: recreate mastodon
|
notify: recreate mastodon
|
||||||
|
|
||||||
- name: copy configuration
|
- name: copy configuration
|
||||||
|
@ -1 +1 @@
|
|||||||
docker_compose_mastodon_path: "/home/administrator/server_docker-compose/mastodon/"
|
docker_compose_mastodon_path: "/home/administrator/docker-compose/mastodon/"
|
||||||
|
@ -16,7 +16,7 @@ To update the nextcloud container execute the following commands on the server:
|
|||||||
sudo python /home/administrator/scripts/docker-volume-backup/docker-volume-backup.py
|
sudo python /home/administrator/scripts/docker-volume-backup/docker-volume-backup.py
|
||||||
export COMPOSE_HTTP_TIMEOUT=600
|
export COMPOSE_HTTP_TIMEOUT=600
|
||||||
export DOCKER_CLIENT_TIMEOUT=600
|
export DOCKER_CLIENT_TIMEOUT=600
|
||||||
cd /home/administrator/server_docker-compose/nextcloud && server_docker-compose down
|
cd /home/administrator/docker-compose/nextcloud && docker-compose down
|
||||||
```
|
```
|
||||||
|
|
||||||
Afterwards update the ***nextcloud_version*** variable to the next version and run the this repository with this ansible role.
|
Afterwards update the ***nextcloud_version*** variable to the next version and run the this repository with this ansible role.
|
||||||
@ -55,8 +55,8 @@ and disable the not functioning apps.
|
|||||||
|
|
||||||
## recover latest backup
|
## recover latest backup
|
||||||
```bash
|
```bash
|
||||||
cd /home/administrator/server_docker-compose/nextcloud &&
|
cd /home/administrator/docker-compose/nextcloud &&
|
||||||
server_docker-compose down &&
|
docker-compose down &&
|
||||||
docker exec -i nextcloud_database_1 mysql -u nextcloud -pPASSWORT nextcloud < "/Backups/$(sha256sum /etc/machine-id | head -c 64)/docker-volume-backup/latest/nextcloud_database/sql/backup.sql" &&
|
docker exec -i nextcloud_database_1 mysql -u nextcloud -pPASSWORT nextcloud < "/Backups/$(sha256sum /etc/machine-id | head -c 64)/docker-volume-backup/latest/nextcloud_database/sql/backup.sql" &&
|
||||||
cd /home/administrator/scripts/docker-volume-backup &&
|
cd /home/administrator/scripts/docker-volume-backup &&
|
||||||
bash ./server_docker-volume-recover.sh "nextcloud_data" "$(sha256sum /etc/machine-id | head -c 64)"
|
bash ./server_docker-volume-recover.sh "nextcloud_data" "$(sha256sum /etc/machine-id | head -c 64)"
|
||||||
@ -124,7 +124,7 @@ Until NC24 MariaDB version has to be used.
|
|||||||
- https://help.nextcloud.com/t/solved-manual-lemp-install-php-fpm-timing-out/39070
|
- https://help.nextcloud.com/t/solved-manual-lemp-install-php-fpm-timing-out/39070
|
||||||
|
|
||||||
## further information
|
## further information
|
||||||
- https://github.com/nextcloud/docker/blob/master/.examples/server_docker-compose/with-nginx-proxy/mariadb/fpm/server_docker-compose.yml
|
- https://github.com/nextcloud/docker/blob/master/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/docker-compose.yml
|
||||||
- https://goneuland.de/nextcloud-upgrade-auf-neue-versionen-mittels-docker/
|
- https://goneuland.de/nextcloud-upgrade-auf-neue-versionen-mittels-docker/
|
||||||
- https://help.nextcloud.com/t/cant-start-nextcloud-because-the-version-of-the-data-is-higher-than-the-server_docker-image-version-and-downgrading-is-not-supported/109438
|
- https://help.nextcloud.com/t/cant-start-nextcloud-because-the-version-of-the-data-is-higher-than-the-server_docker-image-version-and-downgrading-is-not-supported/109438
|
||||||
- https://github.com/nextcloud/docker/issues/1302
|
- https://github.com/nextcloud/docker/issues/1302
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: recreate nextcloud
|
- name: recreate nextcloud
|
||||||
command:
|
command:
|
||||||
cmd: server_docker-compose -p nextcloud up -d --force-recreate
|
cmd: docker-compose -p nextcloud up -d --force-recreate
|
||||||
chdir: /home/administrator/server_docker-compose/nextcloud/
|
chdir: /home/administrator/docker-compose/nextcloud/
|
||||||
environment:
|
environment:
|
||||||
COMPOSE_HTTP_TIMEOUT: 600
|
COMPOSE_HTTP_TIMEOUT: 600
|
||||||
DOCKER_CLIENT_TIMEOUT: 600
|
DOCKER_CLIENT_TIMEOUT: 600
|
||||||
|
@ -16,12 +16,12 @@
|
|||||||
template: src=templates/nginx.conf.j2 dest=/home/administrator/volumes/docker/nextcloud/nginx.conf
|
template: src=templates/nginx.conf.j2 dest=/home/administrator/volumes/docker/nextcloud/nginx.conf
|
||||||
notify: recreate nextcloud
|
notify: recreate nextcloud
|
||||||
|
|
||||||
- name: "create /home/administrator/server_docker-compose/nextcloud/"
|
- name: "create /home/administrator/docker-compose/nextcloud/"
|
||||||
file:
|
file:
|
||||||
path: "/home/administrator/server_docker-compose/nextcloud/"
|
path: "/home/administrator/docker-compose/nextcloud/"
|
||||||
state: directory
|
state: directory
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
|
||||||
- name: add server_docker-compose.yml
|
- name: add docker-compose.yml
|
||||||
template: src=server_docker-compose.yml.j2 dest=/home/administrator/server_docker-compose/nextcloud/server_docker-compose.yml
|
template: src=docker-compose.yml.j2 dest=/home/administrator/docker-compose/nextcloud/docker-compose.yml
|
||||||
notify: recreate nextcloud
|
notify: recreate nextcloud
|
||||||
|
@ -7,10 +7,10 @@ watch -n 2 "docker ps -a | grep peertube"
|
|||||||
|
|
||||||
## clean rebuild
|
## clean rebuild
|
||||||
```bash
|
```bash
|
||||||
cd /home/administrator/server_docker-compose/peertube/ &&
|
cd /home/administrator/docker-compose/peertube/ &&
|
||||||
server_docker-compose down
|
docker-compose down
|
||||||
docker volume rm peertube_assets peertube_config peertube_data peertube_database peertube_redis
|
docker volume rm peertube_assets peertube_config peertube_data peertube_database peertube_redis
|
||||||
server_docker-compose up -d
|
docker-compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
## access terminal
|
## access terminal
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: recreate peertube
|
- name: recreate peertube
|
||||||
command:
|
command:
|
||||||
cmd: server_docker-compose -p peertube up -d --force-recreate
|
cmd: docker-compose -p peertube up -d --force-recreate
|
||||||
chdir: "{{docker_compose_peertube_path}}"
|
chdir: "{{docker_compose_peertube_path}}"
|
||||||
environment:
|
environment:
|
||||||
COMPOSE_HTTP_TIMEOUT: 600
|
COMPOSE_HTTP_TIMEOUT: 600
|
||||||
|
@ -12,8 +12,8 @@
|
|||||||
state: directory
|
state: directory
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
|
||||||
- name: copy server_docker-compose.yml
|
- name: copy docker-compose.yml
|
||||||
template: src=server_docker-compose.yml.j2 dest={{docker_compose_peertube_path}}server_docker-compose.yml
|
template: src=docker-compose.yml.j2 dest={{docker_compose_peertube_path}}docker-compose.yml
|
||||||
notify: recreate peertube
|
notify: recreate peertube
|
||||||
|
|
||||||
- name: copy configuration
|
- name: copy configuration
|
||||||
|
@ -1 +1 @@
|
|||||||
docker_compose_peertube_path: "/home/administrator/server_docker-compose/peertube/"
|
docker_compose_peertube_path: "/home/administrator/docker-compose/peertube/"
|
||||||
|
@ -2,25 +2,25 @@
|
|||||||
|
|
||||||
## hard cleanup
|
## hard cleanup
|
||||||
```bash
|
```bash
|
||||||
server_docker-compose down
|
docker-compose down
|
||||||
docker volume rm pixelfed_application_data pixelfed_database pixelfed_redis_data
|
docker volume rm pixelfed_application_data pixelfed_database pixelfed_redis_data
|
||||||
```
|
```
|
||||||
|
|
||||||
## update
|
## update
|
||||||
```bash
|
```bash
|
||||||
cd /home/administrator/server_docker-compose/pixelfed/ &&
|
cd /home/administrator/docker-compose/pixelfed/ &&
|
||||||
server_docker-compose down &&
|
docker-compose down &&
|
||||||
docker network prune -f &&
|
docker network prune -f &&
|
||||||
server_docker-compose pull &&
|
docker-compose pull &&
|
||||||
server_docker-compose build &&
|
docker-compose build &&
|
||||||
server_docker-compose -p pixelfed up -d --force-recreate
|
docker-compose -p pixelfed up -d --force-recreate
|
||||||
```
|
```
|
||||||
|
|
||||||
## inspect
|
## inspect
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
server_docker-compose ps -a
|
docker-compose ps -a
|
||||||
server_docker-compose logs -f
|
docker-compose logs -f
|
||||||
```
|
```
|
||||||
|
|
||||||
## further information
|
## further information
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: recreate pixelfed
|
- name: recreate pixelfed
|
||||||
command:
|
command:
|
||||||
cmd: server_docker-compose -p pixelfed up -d --force-recreate
|
cmd: docker-compose -p pixelfed up -d --force-recreate
|
||||||
chdir: /home/administrator/server_docker-compose/pixelfed/
|
chdir: /home/administrator/docker-compose/pixelfed/
|
||||||
environment:
|
environment:
|
||||||
COMPOSE_HTTP_TIMEOUT: 600
|
COMPOSE_HTTP_TIMEOUT: 600
|
||||||
DOCKER_CLIENT_TIMEOUT: 600
|
DOCKER_CLIENT_TIMEOUT: 600
|
||||||
|
@ -12,8 +12,8 @@
|
|||||||
state: directory
|
state: directory
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
|
||||||
- name: add server_docker-compose.yml
|
- name: add docker-compose.yml
|
||||||
template: src=server_docker-compose.yml.j2 dest={{docker_compose_path}}server_docker-compose.yml
|
template: src=docker-compose.yml.j2 dest={{docker_compose_path}}docker-compose.yml
|
||||||
notify: recreate pixelfed
|
notify: recreate pixelfed
|
||||||
|
|
||||||
- name: add env
|
- name: add env
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
docker_compose_path: "/home/administrator/server_docker-compose/pixelfed/"
|
docker_compose_path: "/home/administrator/docker-compose/pixelfed/"
|
||||||
client_max_body_size: "512M"
|
client_max_body_size: "512M"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: recreate and build roulette-wheel
|
- name: recreate and build roulette-wheel
|
||||||
command:
|
command:
|
||||||
cmd: server_docker-compose -p roulette-wheel up -d --force-recreate --build
|
cmd: docker-compose -p roulette-wheel up -d --force-recreate --build
|
||||||
chdir: "{{docker_compose_path}}"
|
chdir: "{{docker_compose_path}}"
|
||||||
environment:
|
environment:
|
||||||
COMPOSE_HTTP_TIMEOUT: 600
|
COMPOSE_HTTP_TIMEOUT: 600
|
||||||
|
@ -20,8 +20,8 @@
|
|||||||
notify: recreate and build roulette-wheel
|
notify: recreate and build roulette-wheel
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: add server_docker-compose.yml
|
- name: add docker-compose.yml
|
||||||
template: src=server_docker-compose.yml.j2 dest={{docker_compose_path}}server_docker-compose.yml
|
template: src=docker-compose.yml.j2 dest={{docker_compose_path}}docker-compose.yml
|
||||||
notify: recreate and build roulette-wheel
|
notify: recreate and build roulette-wheel
|
||||||
|
|
||||||
- name: add Dockerfile
|
- name: add Dockerfile
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
docker_compose_path: "/home/administrator/server_docker-compose/roulette-wheel/"
|
docker_compose_path: "/home/administrator/docker-compose/roulette-wheel/"
|
||||||
app_path: "/home/administrator/server_docker-compose/roulette-wheel/app/"
|
app_path: "/home/administrator/docker-compose/roulette-wheel/app/"
|
@ -6,5 +6,5 @@ May this service needs to be implemented for jitis. It's directly integrated in
|
|||||||
- https://nextcloud-talk.readthedocs.io/en/latest/TURN/
|
- https://nextcloud-talk.readthedocs.io/en/latest/TURN/
|
||||||
- https://hub.docker.com/r/instrumentisto/coturn
|
- https://hub.docker.com/r/instrumentisto/coturn
|
||||||
- https://forum.openmediavault.org/index.php?thread/31782-server_docker-nextcloud-talk-plugin-and-turnserver/
|
- https://forum.openmediavault.org/index.php?thread/31782-server_docker-nextcloud-talk-plugin-and-turnserver/
|
||||||
- https://markus-blog.de/index.php/2020/11/20/how-to-run-nextcloud-talk-high-performance-backend-with-stun-turnserver-on-ubuntu-with-server_docker-compose/
|
- https://markus-blog.de/index.php/2020/11/20/how-to-run-nextcloud-talk-high-performance-backend-with-stun-turnserver-on-ubuntu-with-docker-compose/
|
||||||
- https://github.com/crazy-max/server_docker-nextcloud/issues/15
|
- https://github.com/crazy-max/server_docker-nextcloud/issues/15
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: recreate wordpress
|
- name: recreate wordpress
|
||||||
command:
|
command:
|
||||||
cmd: server_docker-compose -p wordpress up -d --force-recreate
|
cmd: docker-compose -p wordpress up -d --force-recreate
|
||||||
chdir: /home/administrator/server_docker-compose/wordpress/
|
chdir: /home/administrator/docker-compose/wordpress/
|
||||||
environment:
|
environment:
|
||||||
COMPOSE_HTTP_TIMEOUT: 600
|
COMPOSE_HTTP_TIMEOUT: 600
|
||||||
DOCKER_CLIENT_TIMEOUT: 600
|
DOCKER_CLIENT_TIMEOUT: 600
|
||||||
|
@ -11,12 +11,12 @@
|
|||||||
loop: "{{domains}}"
|
loop: "{{domains}}"
|
||||||
notify: restart nginx
|
notify: restart nginx
|
||||||
|
|
||||||
- name: "create /home/administrator/server_docker-compose/wordpress/"
|
- name: "create /home/administrator/docker-compose/wordpress/"
|
||||||
file:
|
file:
|
||||||
path: "/home/administrator/server_docker-compose/wordpress/"
|
path: "/home/administrator/docker-compose/wordpress/"
|
||||||
state: directory
|
state: directory
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
|
||||||
- name: add server_docker-compose.yml
|
- name: add docker-compose.yml
|
||||||
template: src=server_docker-compose.yml.j2 dest=/home/administrator/server_docker-compose/wordpress/server_docker-compose.yml
|
template: src=docker-compose.yml.j2 dest=/home/administrator/docker-compose/wordpress/docker-compose.yml
|
||||||
notify: recreate wordpress
|
notify: recreate wordpress
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: recreate yourls
|
- name: recreate yourls
|
||||||
command:
|
command:
|
||||||
cmd: server_docker-compose -p yourls up -d --force-recreate
|
cmd: docker-compose -p yourls up -d --force-recreate
|
||||||
chdir: /home/administrator/server_docker-compose/yourls/
|
chdir: /home/administrator/docker-compose/yourls/
|
||||||
environment:
|
environment:
|
||||||
COMPOSE_HTTP_TIMEOUT: 600
|
COMPOSE_HTTP_TIMEOUT: 600
|
||||||
DOCKER_CLIENT_TIMEOUT: 600
|
DOCKER_CLIENT_TIMEOUT: 600
|
||||||
|
@ -6,12 +6,12 @@
|
|||||||
template: src=roles/server_native-docker-reverse-proxy/templates/domain.conf.j2 dest=/etc/nginx/conf.d/{{domain}}.conf
|
template: src=roles/server_native-docker-reverse-proxy/templates/domain.conf.j2 dest=/etc/nginx/conf.d/{{domain}}.conf
|
||||||
notify: restart nginx
|
notify: restart nginx
|
||||||
|
|
||||||
- name: "create /home/administrator/server_docker-compose/yourls/"
|
- name: "create /home/administrator/docker-compose/yourls/"
|
||||||
file:
|
file:
|
||||||
path: "/home/administrator/server_docker-compose/yourls/"
|
path: "/home/administrator/docker-compose/yourls/"
|
||||||
state: directory
|
state: directory
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
|
||||||
- name: add server_docker-compose.yml
|
- name: add docker-compose.yml
|
||||||
template: src=server_docker-compose.yml.j2 dest=/home/administrator/server_docker-compose/yourls/server_docker-compose.yml
|
template: src=docker-compose.yml.j2 dest=/home/administrator/docker-compose/yourls/docker-compose.yml
|
||||||
notify: recreate yourls
|
notify: recreate yourls
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
# server_native-docker-compose-restart-unhealthy
|
# server_native-docker-compose-restart-unhealthy
|
||||||
server_docker-compose restart for containers which are unhealty or excited
|
docker-compose restart for containers which are unhealty or excited
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/python
|
#!/bin/python
|
||||||
#
|
#
|
||||||
# restart server_docker-compose configurations who have exited or unhealthy containers
|
# restart docker-compose configurations who have exited or unhealthy containers
|
||||||
#
|
#
|
||||||
import subprocess
|
import subprocess
|
||||||
import time
|
import time
|
||||||
@ -49,6 +49,6 @@ for failed_container in failed_containers:
|
|||||||
filtered_failed_docker_compose_repositories=list(dict.fromkeys(unfiltered_failed_docker_compose_repositories))
|
filtered_failed_docker_compose_repositories=list(dict.fromkeys(unfiltered_failed_docker_compose_repositories))
|
||||||
for filtered_failed_docker_compose_repository in filtered_failed_docker_compose_repositories:
|
for filtered_failed_docker_compose_repository in filtered_failed_docker_compose_repositories:
|
||||||
print("restarting unhealthy container: " + filtered_failed_docker_compose_repository)
|
print("restarting unhealthy container: " + filtered_failed_docker_compose_repository)
|
||||||
print_bash('cd /home/administrator/server_docker-compose/' + filtered_failed_docker_compose_repository + '/ && server_docker-compose restart')
|
print_bash('cd /home/administrator/docker-compose/' + filtered_failed_docker_compose_repository + '/ && docker-compose restart')
|
||||||
|
|
||||||
print("finished restart procedure.")
|
print("finished restart procedure.")
|
@ -1,12 +1,12 @@
|
|||||||
- name: "reload server_docker-compose-restart-unhealthy.service"
|
- name: "reload docker-compose-restart-unhealthy.service"
|
||||||
systemd:
|
systemd:
|
||||||
name: server_docker-compose-restart-unhealthy.service
|
name: docker-compose-restart-unhealthy.service
|
||||||
state: reloaded
|
state: reloaded
|
||||||
enabled: yes
|
enabled: yes
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
- name: "restart server_docker-compose-restart-unhealthy.timer"
|
- name: "restart docker-compose-restart-unhealthy.timer"
|
||||||
systemd:
|
systemd:
|
||||||
name: server_docker-compose-restart-unhealthy.timer
|
name: docker-compose-restart-unhealthy.timer
|
||||||
state: restarted
|
state: restarted
|
||||||
enabled: yes
|
enabled: yes
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
|
@ -1,22 +1,22 @@
|
|||||||
- name: "create {{docker_docker_compose_restart_unhealthy}}"
|
- name: "create {{docker_compose_restart_unhealthy}}"
|
||||||
file:
|
file:
|
||||||
path: "{{docker_docker_compose_restart_unhealthy}}"
|
path: "{{docker_compose_restart_unhealthy}}"
|
||||||
state: directory
|
state: directory
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
|
||||||
- name: create server_docker-compose-restart-unhealthy.py
|
- name: create docker-compose-restart-unhealthy.py
|
||||||
copy:
|
copy:
|
||||||
src: server_docker-compose-restart-unhealthy.py
|
src: docker-compose-restart-unhealthy.py
|
||||||
dest: "{{docker_docker_compose_restart_unhealthy}}server_docker-compose-restart-unhealthy.py"
|
dest: "{{docker_compose_restart_unhealthy}}docker-compose-restart-unhealthy.py"
|
||||||
|
|
||||||
- name: create server_docker-compose-restart-unhealthy.service
|
- name: create docker-compose-restart-unhealthy.service
|
||||||
template:
|
template:
|
||||||
src: server_docker-compose-restart-unhealthy.service.j2
|
src: docker-compose-restart-unhealthy.service.j2
|
||||||
dest: /etc/systemd/system/server_docker-compose-restart-unhealthy.service
|
dest: /etc/systemd/system/docker-compose-restart-unhealthy.service
|
||||||
notify: reload server_docker-compose-restart-unhealthy.service
|
notify: reload docker-compose-restart-unhealthy.service
|
||||||
|
|
||||||
- name: create server_docker-compose-restart-unhealthy.timer
|
- name: create docker-compose-restart-unhealthy.timer
|
||||||
template:
|
template:
|
||||||
src: server_docker-compose-restart-unhealthy.timer.j2
|
src: docker-compose-restart-unhealthy.timer.j2
|
||||||
dest: "/etc/systemd/system/server_docker-compose-restart-unhealthy.timer"
|
dest: "/etc/systemd/system/docker-compose-restart-unhealthy.timer"
|
||||||
notify: restart server_docker-compose-restart-unhealthy.timer
|
notify: restart docker-compose-restart-unhealthy.timer
|
@ -4,4 +4,4 @@ OnFailure=systemd-email@%n.service
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/bin/python {{docker_docker_compose_restart_unhealthy}}server_docker-compose-restart-unhealthy.py
|
ExecStart=/bin/python {{docker_compose_restart_unhealthy}}docker-compose-restart-unhealthy.py
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=starts server_docker-compose-restart-unhealthy.service
|
Description=starts docker-compose-restart-unhealthy.service
|
||||||
|
|
||||||
[Timer]
|
[Timer]
|
||||||
OnCalendar={{on_calendar_docker_compose_restart_unhealthy}}
|
OnCalendar={{on_calendar_docker_compose_restart_unhealthy}}
|
||||||
|
@ -1 +1 @@
|
|||||||
docker_docker_compose_restart_unhealthy: "/home/administrator/scripts/server_docker-compose-restart-unhealthy/"
|
docker_compose_restart_unhealthy: "/home/administrator/scripts/docker-compose-restart-unhealthy/"
|
@ -1,12 +1,12 @@
|
|||||||
- name: "reload server_docker-health-check.service"
|
- name: "reload docker-health-check.service"
|
||||||
systemd:
|
systemd:
|
||||||
name: server_docker-health-check.service
|
name: docker-health-check.service
|
||||||
state: reloaded
|
state: reloaded
|
||||||
enabled: yes
|
enabled: yes
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
- name: "restart server_docker-health-check.timer"
|
- name: "restart docker-health-check.timer"
|
||||||
systemd:
|
systemd:
|
||||||
name: server_docker-health-check.timer
|
name: docker-health-check.timer
|
||||||
state: restarted
|
state: restarted
|
||||||
enabled: yes
|
enabled: yes
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
|
@ -4,17 +4,17 @@
|
|||||||
state: directory
|
state: directory
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
|
||||||
- name: create server_docker-health-check.sh
|
- name: create docker-health-check.sh
|
||||||
copy:
|
copy:
|
||||||
src: server_docker-health-check.sh
|
src: docker-health-check.sh
|
||||||
dest: "{{docker_health_check_folder}}server_docker-health-check.sh"
|
dest: "{{docker_health_check_folder}}docker-health-check.sh"
|
||||||
|
|
||||||
- name: create server_docker-health-check.service
|
- name: create docker-health-check.service
|
||||||
template: src=server_docker-health-check.service.j2 dest=/etc/systemd/system/server_docker-health-check.service
|
template: src=docker-health-check.service.j2 dest=/etc/systemd/system/docker-health-check.service
|
||||||
notify: reload server_docker-health-check.service
|
notify: reload docker-health-check.service
|
||||||
|
|
||||||
- name: create server_docker-health-check.timer
|
- name: create docker-health-check.timer
|
||||||
template:
|
template:
|
||||||
src: server_docker-health-check.timer.j2
|
src: docker-health-check.timer.j2
|
||||||
dest: "/etc/systemd/system/server_docker-health-check.timer"
|
dest: "/etc/systemd/system/docker-health-check.timer"
|
||||||
notify: restart server_docker-health-check.timer
|
notify: restart docker-health-check.timer
|
||||||
|
@ -4,4 +4,4 @@ OnFailure=systemd-email@%n.service
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/bin/bash {{docker_health_check_folder}}server_docker-health-check.sh
|
ExecStart=/bin/bash {{docker_health_check_folder}}docker-health-check.sh
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=starts server_docker-health-check.service
|
Description=starts docker-health-check.service
|
||||||
|
|
||||||
[Timer]
|
[Timer]
|
||||||
OnCalendar={{on_calendar_docker_health_check}}
|
OnCalendar={{on_calendar_docker_health_check}}
|
||||||
|
@ -16,4 +16,4 @@ curl -I {{address}}
|
|||||||
- https://askubuntu.com/questions/1103626/should-i-enable-client-max-body-size-proxy-request-buffering-and-proxy-bufferin
|
- https://askubuntu.com/questions/1103626/should-i-enable-client-max-body-size-proxy-request-buffering-and-proxy-bufferin
|
||||||
- https://serverfault.com/questions/692577/whats-the-difference-between-proxy-buffer-and-proxy-cache-module-in-nginx-confi
|
- https://serverfault.com/questions/692577/whats-the-difference-between-proxy-buffer-and-proxy-cache-module-in-nginx-confi
|
||||||
- https://github.com/sissbruecker/linkding/issues/88
|
- https://github.com/sissbruecker/linkding/issues/88
|
||||||
- https://www.bogotobogo.com/DevOps/Docker/server_docker-Compose-Nginx-Reverse-Proxy-Multiple-Containers.php
|
- https://www.bogotobogo.com/DevOps/Docker/docker-compose-Nginx-Reverse-Proxy-Multiple-Containers.php
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
---
|
---
|
||||||
- name: docker & docker compose install
|
- name: docker & docker compose install
|
||||||
pacman:
|
pacman:
|
||||||
name: ['docker','server_docker-compose']
|
name: ['docker','docker-compose']
|
||||||
state: present
|
state: present
|
||||||
notify: docker restart
|
notify: docker restart
|
||||||
|
|
||||||
- name: "create /home/administrator/server_docker-compose/"
|
- name: "create /home/administrator/docker-compose/"
|
||||||
file:
|
file:
|
||||||
path: "/home/administrator/server_docker-compose"
|
path: "/home/administrator/docker-compose"
|
||||||
state: directory
|
state: directory
|
||||||
mode: 0700
|
mode: 0700
|
||||||
owner: administrator
|
owner: administrator
|
||||||
|
Loading…
Reference in New Issue
Block a user