24 lines
486 B
YAML
24 lines
486 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
nginx-ai:
|
|
image: nginx:alpine
|
|
container_name: nginx-ai
|
|
restart: unless-stopped
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
volumes:
|
|
- ./nginx.conf:/etc/nginx/nginx.conf:ro
|
|
- ./conf.d:/etc/nginx/conf.d:ro
|
|
- /etc/nginx/certs:/etc/nginx/certs:ro
|
|
- /var/www/html:/var/www/html
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
networks:
|
|
- nginx-network
|
|
|
|
networks:
|
|
nginx-network:
|
|
driver: bridge
|