Добавить docker-compose.yaml

This commit is contained in:
2025-08-19 17:17:32 +03:00
commit c95678e342

35
docker-compose.yaml Normal file
View File

@@ -0,0 +1,35 @@
services:
nginx:
image: nginx:alpine
ports:
- "8080:80"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
depends_on:
- web1
- web2
- web3
networks:
- app-network
web1:
image: lscr.io/linuxserver/whoami:latest
hostname: web1
networks:
- app-network
web2:
image: lscr.io/linuxserver/whoami:latest
hostname: web2
networks:
- app-network
web3:
image: lscr.io/linuxserver/whoami:latest
hostname: web3
networks:
- app-network
networks:
app-network:
driver: bridge