chore(): disable all ports except of 80
This commit is contained in:
@@ -25,13 +25,13 @@ services:
|
||||
required: true
|
||||
- path: ./infrastructure/configs/backend/.env
|
||||
required: false
|
||||
ports:
|
||||
- name: web
|
||||
target: 8080
|
||||
published: ${DJANGO_PORT}
|
||||
host_ip: 127.0.0.1
|
||||
protocol: tcp
|
||||
app_protocol: http
|
||||
# ports:
|
||||
# - name: web
|
||||
# target: 8080
|
||||
# published: ${DJANGO_PORT}
|
||||
# host_ip: 127.0.0.1
|
||||
# protocol: tcp
|
||||
# app_protocol: http
|
||||
networks:
|
||||
- default
|
||||
restart: unless-stopped
|
||||
@@ -85,13 +85,13 @@ services:
|
||||
start_period: 5s
|
||||
start_interval: 2s
|
||||
retries: 5
|
||||
ports:
|
||||
- name: web
|
||||
target: 80
|
||||
published: ${DJANGO_STATICFILES_PORT}
|
||||
host_ip: 127.0.0.1
|
||||
protocol: tcp
|
||||
app_protocol: http
|
||||
# ports:
|
||||
# - name: web
|
||||
# target: 80
|
||||
# published: ${DJANGO_STATICFILES_PORT}
|
||||
# host_ip: 127.0.0.1
|
||||
# protocol: tcp
|
||||
# app_protocol: http
|
||||
networks:
|
||||
- default
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in New Issue
Block a user