add gateway
This commit is contained in:
parent
a9bd847cbc
commit
6d44f4b40e
@ -21,6 +21,8 @@ services:
|
||||
volumes:
|
||||
- "${WWWROOT_PATH}:/data/wwwroot"
|
||||
working_dir: /data/wwwroot/
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
privileged: true
|
||||
networks:
|
||||
aix-docker-cc:
|
||||
@ -54,6 +56,8 @@ services:
|
||||
nofile:
|
||||
soft: 65536
|
||||
hard: 65536
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
networks:
|
||||
aix-docker-cc:
|
||||
ipv4_address: ${NET_SUBNET:-10.12.25}.10
|
||||
@ -74,6 +78,8 @@ services:
|
||||
- "./openresty/config/conf:/usr/local/openresty/nginx/conf"
|
||||
- "./openresty/config/vhost:/usr/local/openresty/nginx/conf/vhost"
|
||||
- "./openresty/config/rewrite:/usr/local/openresty/nginx/conf/rewrite"
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
networks:
|
||||
aix-docker-cc:
|
||||
ipv4_address: ${NET_SUBNET:-10.12.25}.2
|
||||
@ -101,6 +107,8 @@ services:
|
||||
timeout: 3s
|
||||
retries: 30
|
||||
start_period: 30s
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
networks:
|
||||
aix-docker-cc:
|
||||
ipv4_address: ${NET_SUBNET:-10.12.25}.3
|
||||
@ -129,6 +137,8 @@ services:
|
||||
timeout: 3s
|
||||
retries: 30
|
||||
start_period: 30s
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
depends_on:
|
||||
- elasticsearch
|
||||
- redis
|
||||
@ -156,6 +166,8 @@ services:
|
||||
timeout: 3s
|
||||
retries: 30
|
||||
start_period: 30s
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
depends_on:
|
||||
- elasticsearch
|
||||
- redis
|
||||
@ -184,6 +196,8 @@ services:
|
||||
timeout: 3s
|
||||
retries: 30
|
||||
start_period: 30s
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
depends_on:
|
||||
redis:
|
||||
condition: service_healthy
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user