Work out the host and port for the container

Avoid docker inspect:
1. Use the container ID as the host
2. Configure the port, default to 3000
This commit is contained in:
Donal McBreen
2024-09-10 17:47:38 +01:00
parent 9b673c2114
commit f088e0cb64
11 changed files with 28 additions and 24 deletions

View File

@@ -13,6 +13,7 @@ proxy:
enabled: true
hosts:
- vm2
port: 80
deploy_timeout: 2s
asset_path: /usr/share/nginx/html/versions