mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-22 20:51:07 +01:00
Changed paths,versions and set environment variables correct
This commit is contained in:
parent
12a8516ad1
commit
8d4d558544
@ -3,6 +3,9 @@
|
||||
command:
|
||||
cmd: docker-compose -p mailu up -d --force-recreate
|
||||
chdir: /home/administrator/docker-compose/mailu/
|
||||
environment:
|
||||
COMPOSE_HTTP_TIMEOUT: 120
|
||||
DOCKER_CLIENT_TIMEOUT: 120
|
||||
- name: "restart deploy-letsencrypt-mailu.service"
|
||||
systemd:
|
||||
name: deploy-letsencrypt-mailu.service
|
||||
|
@ -17,8 +17,6 @@ services:
|
||||
MYSQL_USER: "mailu"
|
||||
MYSQL_PASSWORD: "{{mailu_database_password}}"
|
||||
MYSQL_RANDOM_ROOT_PASSWORD: 'yes'
|
||||
COMPOSE_HTTP_TIMEOUT: 120
|
||||
DOCKER_CLIENT_TIMEOUT: 120
|
||||
volumes:
|
||||
- database:/var/lib/mysql
|
||||
|
||||
|
@ -8,10 +8,6 @@
|
||||
# Common configuration variables
|
||||
###################################
|
||||
|
||||
# TIMEOUTS
|
||||
COMPOSE_HTTP_TIMEOUT=300
|
||||
DOCKER_CLIENT_TIMEOUT=300
|
||||
|
||||
# Set to a randomly generated 16 bytes string
|
||||
SECRET_KEY={{mailu_secret_key}}
|
||||
|
||||
|
@ -2,4 +2,7 @@
|
||||
- name: recreate nextcloud
|
||||
command:
|
||||
cmd: docker-compose -p nextcloud up -d --force-recreate
|
||||
chdir: /usr/local/bin/nextcloud/
|
||||
chdir: /home/administrator/docker-compose/nextcloud/
|
||||
environment:
|
||||
COMPOSE_HTTP_TIMEOUT: 120
|
||||
DOCKER_CLIENT_TIMEOUT: 120
|
||||
|
@ -1,4 +1,4 @@
|
||||
version: '2'
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
application:
|
||||
@ -11,8 +11,6 @@ services:
|
||||
volumes:
|
||||
- data:/var/www/html
|
||||
environment:
|
||||
COMPOSE_HTTP_TIMEOUT: 120
|
||||
DOCKER_CLIENT_TIMEOUT: 120
|
||||
MYSQL_DATABASE: "nextcloud"
|
||||
MYSQL_USER: "nextcloud"
|
||||
MYSQL_PASSWORD: "{{nextcloud_database_password}}"
|
||||
@ -22,8 +20,6 @@ services:
|
||||
driver: journald
|
||||
image: mariadb
|
||||
environment:
|
||||
COMPOSE_HTTP_TIMEOUT: 120
|
||||
DOCKER_CLIENT_TIMEOUT: 120
|
||||
MYSQL_DATABASE: "nextcloud"
|
||||
MYSQL_USER: "nextcloud"
|
||||
MYSQL_PASSWORD: "{{nextcloud_database_password}}"
|
||||
|
@ -12,6 +12,9 @@
|
||||
notify: restart nginx
|
||||
|
||||
- name: "setup wordpress"
|
||||
environment:
|
||||
DOCKER_CLIENT_TIMEOUT: 120
|
||||
COMPOSE_HTTP_TIMEOUT: 120
|
||||
docker_compose:
|
||||
project_name: wordpress
|
||||
definition:
|
||||
@ -22,8 +25,6 @@
|
||||
ports:
|
||||
- "127.0.0.1:{{http_port}}:80"
|
||||
environment:
|
||||
DOCKER_CLIENT_TIMEOUT: 120
|
||||
COMPOSE_HTTP_TIMEOUT: 120
|
||||
WORDPRESS_DB_HOST: database:3306
|
||||
WORDPRESS_DB_USER: "wordpress"
|
||||
WORDPRESS_DB_PASSWORD: "{{wordpress_database_password}}"
|
||||
|
@ -7,6 +7,9 @@
|
||||
notify: restart nginx
|
||||
|
||||
- name: "setup yourls"
|
||||
environment:
|
||||
DOCKER_CLIENT_TIMEOUT: 120
|
||||
COMPOSE_HTTP_TIMEOUT: 120
|
||||
docker_compose:
|
||||
project_name: yourls
|
||||
definition:
|
||||
@ -16,8 +19,6 @@
|
||||
ports:
|
||||
- "127.0.0.1:{{http_port}}:80"
|
||||
environment:
|
||||
DOCKER_CLIENT_TIMEOUT: 120
|
||||
COMPOSE_HTTP_TIMEOUT: 120
|
||||
YOURLS_DB_HOST: "database:3306"
|
||||
YOURLS_DB_USER: "yourls"
|
||||
YOURLS_DB_PASS: "{{yourls_database_password}}"
|
||||
|
Loading…
Reference in New Issue
Block a user