Reduced port exposure to localhost

This commit is contained in:
Kevin Veen-Birkenbach 2020-12-27 23:12:09 +01:00
parent dddb3fffc3
commit 51fbc67a04
10 changed files with 10 additions and 10 deletions

View File

@ -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

View File

@ -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

View File

@ -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:

View File

@ -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:

View File

@ -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"

View File

@ -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"

View File

@ -23,7 +23,7 @@
links:
- database
ports:
- "{{http_port}}:80"
- "127.0.0.1:{{http_port}}:80"
database:
image: mariadb
environment:

View File

@ -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

View File

@ -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"

View File

@ -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"