From f7f2b11ef20432b0c1b0f5406b46e04b71cabe04 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 21 Sep 2021 22:57:32 +0000 Subject: [PATCH] actualizada la configuracion --- .gitignore | 19 +++++++++++++++++++ .tmux.conf | 1 + caddy/Caddyfile | 9 ++++++++- caddy/docker-compose.yml | 5 +++-- caddy/webroot/www/index.html | 10 +++++----- gitea/docker-compose.yml | 2 +- 6 files changed, 37 insertions(+), 9 deletions(-) create mode 100644 .gitignore create mode 120000 .tmux.conf diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..307ac70 --- /dev/null +++ b/.gitignore @@ -0,0 +1,19 @@ +backup/ +**/volumes/ +.bash_prompt +.cache/ +.config/ +.fossil +.local/ +.nanorc +.profile +.python_history +.selected_editor +.ssh/ +.tmux.conf.local +.tmux/ +.vim_mru_files +.vim_runtime/ +.viminfo +.vimrc +.wget-hsts diff --git a/.tmux.conf b/.tmux.conf new file mode 120000 index 0000000..ad76979 --- /dev/null +++ b/.tmux.conf @@ -0,0 +1 @@ +.tmux/.tmux.conf \ No newline at end of file diff --git a/caddy/Caddyfile b/caddy/Caddyfile index b2b3c5d..9734c37 100644 --- a/caddy/Caddyfile +++ b/caddy/Caddyfile @@ -4,12 +4,19 @@ copincha.org { file_server } -wiki.copincha.org { +copinchapedia.copincha.org { root * /var/wiki encode gzip file_server } +pph.copincha.org { + root * /var/pph + encode gzip + file_server +} + + docs.copincha.org { reverse_proxy localhost:3000 } diff --git a/caddy/docker-compose.yml b/caddy/docker-compose.yml index 5cb69ba..b0fa852 100644 --- a/caddy/docker-compose.yml +++ b/caddy/docker-compose.yml @@ -10,6 +10,7 @@ services: volumes: - ./Caddyfile:/etc/caddy/Caddyfile - ./caddy:/data/ - - ./webroot/www:/var/www - - ./webroot/wiki:/var/wiki + - /root/jardines-digitales/copincha.org:/var/www + - /root/jardines-digitales/copinchapedia:/var/wiki + - /root/jardines-digitales/precious-plastic-la-habana:/var/pph diff --git a/caddy/webroot/www/index.html b/caddy/webroot/www/index.html index 61668e7..b6157ce 100644 --- a/caddy/webroot/www/index.html +++ b/caddy/webroot/www/index.html @@ -22,8 +22,8 @@ - - -
+

+ También puedes connectar con la comunidad a través de Whatsapp y Telegram. +

\ No newline at end of file diff --git a/gitea/docker-compose.yml b/gitea/docker-compose.yml index df40e6d..4fdec6a 100644 --- a/gitea/docker-compose.yml +++ b/gitea/docker-compose.yml @@ -25,7 +25,7 @@ services: - /etc/localtime:/etc/localtime:ro ports: - "9000:3000" - - "222:22" + - "22:22" depends_on: - db