diff --git a/roles/docker-gitea/tasks/main.yml b/roles/docker-gitea/tasks/main.yml index 195fffc1..9b171238 100644 --- a/roles/docker-gitea/tasks/main.yml +++ b/roles/docker-gitea/tasks/main.yml @@ -28,7 +28,7 @@ - RUN_MODE="{{run_mode}}" - ROOT_URL="https://{{domain}}/" ports: - - "{{http_port}}:3000" + - "127.0.0.1:{{http_port}}:3000" - "{{ssh_port}}:22" links: - database diff --git a/roles/docker-jenkins/tasks/main.yml b/roles/docker-jenkins/tasks/main.yml index b5d8a698..ad090600 100644 --- a/roles/docker-jenkins/tasks/main.yml +++ b/roles/docker-jenkins/tasks/main.yml @@ -13,7 +13,7 @@ image: jenkins/jenkins:lts restart: always ports: - - "{{http_port}}:8080" + - "127.0.0.1:{{http_port}}:8080" restart: always volumes: - jenkins_data:/var/jenkins_home diff --git a/roles/docker-joomla/tasks/main.yml b/roles/docker-joomla/tasks/main.yml index 84e03340..510077d1 100644 --- a/roles/docker-joomla/tasks/main.yml +++ b/roles/docker-joomla/tasks/main.yml @@ -23,7 +23,7 @@ volumes: - joomla-data:/var/www/html ports: - - "{{http_port}}:80" + - "127.0.0.1:{{http_port}}:80" database: image: mariadb environment: diff --git a/roles/docker-mediawiki/tasks/main.yml b/roles/docker-mediawiki/tasks/main.yml index 6052c30a..79bf8038 100644 --- a/roles/docker-mediawiki/tasks/main.yml +++ b/roles/docker-mediawiki/tasks/main.yml @@ -17,7 +17,7 @@ volumes: - "mediawiki-data:/var/www/html/" ports: - - "{{http_port}}:80" + - "127.0.0.1:{{http_port}}:80" database: image: mariadb environment: diff --git a/roles/docker-mybb/tasks/main.yml b/roles/docker-mybb/tasks/main.yml index cd17beb4..1d0678fa 100644 --- a/roles/docker-mybb/tasks/main.yml +++ b/roles/docker-mybb/tasks/main.yml @@ -31,7 +31,7 @@ image: nginx:mainline restart: always ports: - - "{{http_port}}:80" + - "127.0.0.1:{{http_port}}:80" volumes: - "{{conf_d_docker_path}}:{{conf_d_path}}" - "mybb-data:/var/www/html:ro" diff --git a/roles/docker-nextcloud/tasks/main.yml b/roles/docker-nextcloud/tasks/main.yml index d098c065..af30ddde 100644 --- a/roles/docker-nextcloud/tasks/main.yml +++ b/roles/docker-nextcloud/tasks/main.yml @@ -18,7 +18,7 @@ volumes: - nextcloud-data:/var/www/html ports: - - "{{http_port}}:80" + - "127.0.0.1:{{http_port}}:80" environment: MYSQL_DATABASE: "nextcloud" MYSQL_USER: "nextcloud" diff --git a/roles/docker-postfix/tasks/main.yml b/roles/docker-postfix/tasks/main.yml index 36822e87..05c1a606 100644 --- a/roles/docker-postfix/tasks/main.yml +++ b/roles/docker-postfix/tasks/main.yml @@ -23,7 +23,7 @@ links: - database ports: - - "{{http_port}}:80" + - "127.0.0.1:{{http_port}}:80" database: image: mariadb environment: diff --git a/roles/docker-wireguard/tasks/main.yml b/roles/docker-wireguard/tasks/main.yml index 5b503ae5..314523d2 100644 --- a/roles/docker-wireguard/tasks/main.yml +++ b/roles/docker-wireguard/tasks/main.yml @@ -19,7 +19,7 @@ image: linuxserver/wireguard restart: always ports: - - "{{http_port}}:80" + - "127.0.0.1:{{http_port}}:80" cap_add: - NET_ADMIN - SYS_MODULE diff --git a/roles/docker-wordpress/tasks/main.yml b/roles/docker-wordpress/tasks/main.yml index 7da6ae93..8f21968f 100644 --- a/roles/docker-wordpress/tasks/main.yml +++ b/roles/docker-wordpress/tasks/main.yml @@ -16,7 +16,7 @@ image: wordpress restart: always ports: - - "{{http_port}}:80" + - "127.0.0.1:{{http_port}}:80" environment: WORDPRESS_DB_HOST: database:3306 WORDPRESS_DB_USER: "wordpress" diff --git a/roles/docker-yourls/tasks/main.yml b/roles/docker-yourls/tasks/main.yml index 592e110d..cbd2053b 100644 --- a/roles/docker-yourls/tasks/main.yml +++ b/roles/docker-yourls/tasks/main.yml @@ -14,7 +14,7 @@ image: yourls restart: always ports: - - "{{http_port}}:80" + - "127.0.0.1:{{http_port}}:80" environment: YOURLS_DB_HOST: "database:3306" YOURLS_DB_USER: "yourls"