31 lines
444 B
YAML
31 lines
444 B
YAML
name: edge-compose
|
|
|
|
services:
|
|
|
|
edge-nginx:
|
|
image: nginx:stable-alpine3.23
|
|
container_name: edge-proxy
|
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
|
|
volumes:
|
|
- ./edge-proxy/nginx.conf:/etc/nginx/nginx.conf:ro
|
|
|
|
networks:
|
|
edge_proxy:
|
|
ipv4_address: 10.60.0.2
|
|
|
|
networks:
|
|
|
|
edge_proxy:
|
|
name: edge_proxy
|
|
driver: bridge
|
|
|
|
ipam:
|
|
config:
|
|
- subnet: 10.60.0.0/24
|