awesome-compose/nginx-golang/docker-compose.yml
2021-10-09 14:02:29 +08:00

13 lines
227 B
YAML

version: "3.7"
services:
frontend:
build: frontend
ports:
- 80:80
depends_on:
- backend
extra_hosts:
- "backend:172.24.121.152" #172.24.121.152 you host ip addr
backend:
build: backend