GG
Size: a a a
GG
EK
EK
GG
EK
EK
m
m
# docker-compose exec nginx /bin/sh
/ # ps ax
PID USER TIME COMMAND
1 root 0:00 nginx: master process nginx -g daemon off;
27 nginx 0:01 nginx: worker process
28 nginx 0:00 nginx: worker process
34 nginx 0:00 nginx: worker process
35 nginx 0:00 nginx: worker process
36 root 0:00 /bin/sh
41 root 0:00 ps ax
/ # nginx -s reload
AK
AK
AK
m
m
version: "3.5"
services:
nginx:
image: nginx:alpine
container_name: nginx
ports:
- target: 80
published: 80
protocol: tcp
mode: host
- target: 443
published: 443
protocol: tcp
mode: host
volumes:
- ./docker/nginx/etc/nginx/nginx.conf:/etc/nginx/nginx.conf
- ./docker/nginx/etc/nginx/conf.d:/etc/nginx/conf.d
networks:
- frontend_network
networks:
frontend_network:
external: true
m
m
EK
GG
version: "3.5"
services:
nginx:
image: nginx:alpine
container_name: nginx
ports:
- target: 80
published: 80
protocol: tcp
mode: host
- target: 443
published: 443
protocol: tcp
mode: host
volumes:
- ./docker/nginx/etc/nginx/nginx.conf:/etc/nginx/nginx.conf
- ./docker/nginx/etc/nginx/conf.d:/etc/nginx/conf.d
networks:
- frontend_network
networks:
frontend_network:
external: true
L
GG
m