gg
This commit is contained in:
parent
4e4ea8cbd4
commit
64142a00ab
@ -1,8 +1,10 @@
|
||||
|
||||
# Docker Compose файл для запуска двух контейнеров с приложением Ionic и настроенной сетью
|
||||
version: '3.8'
|
||||
|
||||
networks:
|
||||
ionic_net:
|
||||
driver: bridge
|
||||
ipam:
|
||||
config:
|
||||
- subnet: 172.168.0.0/24
|
||||
@ -18,6 +20,11 @@ services:
|
||||
- "8100:8100"
|
||||
volumes:
|
||||
- .:/app
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: "0.5"
|
||||
memory: "512M"
|
||||
|
||||
app2:
|
||||
build: .
|
||||
@ -28,4 +35,9 @@ services:
|
||||
ports:
|
||||
- "8101:8100"
|
||||
volumes:
|
||||
- .:/app
|
||||
- .:/app
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: "0.5"
|
||||
memory: "512M"
|
Loading…
Reference in New Issue
Block a user