2022-09-27 22:53:24 +08:00
|
|
|
services:
|
|
|
|
nginx1.23.1:
|
|
|
|
container_name: ${CONTAINER_NAME}
|
|
|
|
image: nginx:1.23.1
|
|
|
|
restart: always
|
2022-10-17 16:32:31 +08:00
|
|
|
networks:
|
|
|
|
- 1panel
|
2022-09-27 22:53:24 +08:00
|
|
|
ports:
|
2022-10-10 22:56:42 +08:00
|
|
|
- ${PANEL_APP_PORT_HTTP}:80
|
|
|
|
- ${PANEL_APP_PORT_HTTPS}:443
|
2022-09-27 22:53:24 +08:00
|
|
|
volumes:
|
|
|
|
- ./conf/nginx.conf:/etc/nginx/nginx.conf
|
|
|
|
- ./log:/var/log/nginx
|
2022-10-09 23:35:24 +08:00
|
|
|
- ./conf/conf.d:/etc/nginx/conf.d/
|
2022-11-16 10:31:35 +08:00
|
|
|
- ./ssl:/etc/nginx/ssl
|
2022-10-17 16:32:31 +08:00
|
|
|
|
|
|
|
networks:
|
|
|
|
1panel:
|
|
|
|
external: true
|