mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-20 00:39:17 +08:00
19 lines
416 B
YAML
19 lines
416 B
YAML
services:
|
|
nginx1.23.1:
|
|
container_name: ${CONTAINER_NAME}
|
|
image: nginx:1.23.1
|
|
restart: always
|
|
networks:
|
|
- 1panel
|
|
ports:
|
|
- ${PANEL_APP_PORT_HTTP}:80
|
|
- ${PANEL_APP_PORT_HTTPS}:443
|
|
volumes:
|
|
- ./conf/nginx.conf:/etc/nginx/nginx.conf
|
|
- ./log:/var/log/nginx
|
|
- ./conf/conf.d:/etc/nginx/conf.d/
|
|
- ./ssl:/etc/nginx/ssl
|
|
|
|
networks:
|
|
1panel:
|
|
external: true |