mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-26 06:31:04 +01:00
Reduced port exposure to localhost
This commit is contained in:
parent
dddb3fffc3
commit
51fbc67a04
@ -28,7 +28,7 @@
|
|||||||
- RUN_MODE="{{run_mode}}"
|
- RUN_MODE="{{run_mode}}"
|
||||||
- ROOT_URL="https://{{domain}}/"
|
- ROOT_URL="https://{{domain}}/"
|
||||||
ports:
|
ports:
|
||||||
- "{{http_port}}:3000"
|
- "127.0.0.1:{{http_port}}:3000"
|
||||||
- "{{ssh_port}}:22"
|
- "{{ssh_port}}:22"
|
||||||
links:
|
links:
|
||||||
- database
|
- database
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
image: jenkins/jenkins:lts
|
image: jenkins/jenkins:lts
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- "{{http_port}}:8080"
|
- "127.0.0.1:{{http_port}}:8080"
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- jenkins_data:/var/jenkins_home
|
- jenkins_data:/var/jenkins_home
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
volumes:
|
volumes:
|
||||||
- joomla-data:/var/www/html
|
- joomla-data:/var/www/html
|
||||||
ports:
|
ports:
|
||||||
- "{{http_port}}:80"
|
- "127.0.0.1:{{http_port}}:80"
|
||||||
database:
|
database:
|
||||||
image: mariadb
|
image: mariadb
|
||||||
environment:
|
environment:
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
volumes:
|
volumes:
|
||||||
- "mediawiki-data:/var/www/html/"
|
- "mediawiki-data:/var/www/html/"
|
||||||
ports:
|
ports:
|
||||||
- "{{http_port}}:80"
|
- "127.0.0.1:{{http_port}}:80"
|
||||||
database:
|
database:
|
||||||
image: mariadb
|
image: mariadb
|
||||||
environment:
|
environment:
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
image: nginx:mainline
|
image: nginx:mainline
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- "{{http_port}}:80"
|
- "127.0.0.1:{{http_port}}:80"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{conf_d_docker_path}}:{{conf_d_path}}"
|
- "{{conf_d_docker_path}}:{{conf_d_path}}"
|
||||||
- "mybb-data:/var/www/html:ro"
|
- "mybb-data:/var/www/html:ro"
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
volumes:
|
volumes:
|
||||||
- nextcloud-data:/var/www/html
|
- nextcloud-data:/var/www/html
|
||||||
ports:
|
ports:
|
||||||
- "{{http_port}}:80"
|
- "127.0.0.1:{{http_port}}:80"
|
||||||
environment:
|
environment:
|
||||||
MYSQL_DATABASE: "nextcloud"
|
MYSQL_DATABASE: "nextcloud"
|
||||||
MYSQL_USER: "nextcloud"
|
MYSQL_USER: "nextcloud"
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
links:
|
links:
|
||||||
- database
|
- database
|
||||||
ports:
|
ports:
|
||||||
- "{{http_port}}:80"
|
- "127.0.0.1:{{http_port}}:80"
|
||||||
database:
|
database:
|
||||||
image: mariadb
|
image: mariadb
|
||||||
environment:
|
environment:
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
image: linuxserver/wireguard
|
image: linuxserver/wireguard
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- "{{http_port}}:80"
|
- "127.0.0.1:{{http_port}}:80"
|
||||||
cap_add:
|
cap_add:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
- SYS_MODULE
|
- SYS_MODULE
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
image: wordpress
|
image: wordpress
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- "{{http_port}}:80"
|
- "127.0.0.1:{{http_port}}:80"
|
||||||
environment:
|
environment:
|
||||||
WORDPRESS_DB_HOST: database:3306
|
WORDPRESS_DB_HOST: database:3306
|
||||||
WORDPRESS_DB_USER: "wordpress"
|
WORDPRESS_DB_USER: "wordpress"
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
image: yourls
|
image: yourls
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- "{{http_port}}:80"
|
- "127.0.0.1:{{http_port}}:80"
|
||||||
environment:
|
environment:
|
||||||
YOURLS_DB_HOST: "database:3306"
|
YOURLS_DB_HOST: "database:3306"
|
||||||
YOURLS_DB_USER: "yourls"
|
YOURLS_DB_USER: "yourls"
|
||||||
|
Loading…
Reference in New Issue
Block a user