🔧 Block external access to docker containers

This needs to go through ingress now!
This commit is contained in:
Stefan Haun 2022-09-06 15:12:01 +02:00
parent 76c5cdb3e1
commit cc43557511

View file

@ -57,8 +57,7 @@
restart_policy: unless-stopped restart_policy: unless-stopped
detach: yes detach: yes
ports: ports:
# - 127.0.0.1:{{ gitea_host_port }}:3000 - 127.0.0.1:{{ gitea_host_port }}:3000
- "{{ gitea_host_port }}:3000"
- 2222:2222 - 2222:2222
env: env:
APP_NAME="Netz39 Gitea" APP_NAME="Netz39 Gitea"
@ -100,7 +99,7 @@
state: started state: started
detach: yes detach: yes
ports: ports:
- "{{ uritools_host_port }}:8080" - "127.0.0.1:{{ uritools_host_port }}:8080"
restart_policy: unless-stopped restart_policy: unless-stopped
- name: Setup proxy site uritools.n39.eu - name: Setup proxy site uritools.n39.eu
@ -118,7 +117,7 @@
state: started state: started
detach: yes detach: yes
ports: ports:
- "{{ entities_validation_svc_host_port }}:8080" - "127.0.0.1:{{ entities_validation_svc_host_port }}:8080"
restart_policy: unless-stopped restart_policy: unless-stopped
- name: Setup proxy site entities-validation.svc.n39.eu - name: Setup proxy site entities-validation.svc.n39.eu
@ -136,7 +135,7 @@
state: started state: started
detach: yes detach: yes
ports: ports:
- "{{ shlink_host_port }}:8080" - "127.0.0.1:{{ shlink_host_port }}:8080"
restart_policy: unless-stopped restart_policy: unless-stopped
env: env:
SHORT_DOMAIN_HOST: "{{ shlink_domain_name }}" SHORT_DOMAIN_HOST: "{{ shlink_domain_name }}"
@ -198,7 +197,7 @@
state: started state: started
detach: yes detach: yes
ports: ports:
- "{{ hedgedoc_host_port }}:3000" - "127.0.0.1:{{ hedgedoc_host_port }}:3000"
restart_policy: unless-stopped restart_policy: unless-stopped
env: env:
NODE_ENV: "production" NODE_ENV: "production"