Fix ports
This commit is contained in:
parent
8c1d2e6c21
commit
a57107f8a1
1 changed files with 3 additions and 7 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
version: '3.8'
|
version: "3.8"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
timeline:
|
timeline:
|
||||||
|
|
@ -6,18 +6,14 @@ services:
|
||||||
image: schmelczera/timeline
|
image: schmelczera/timeline
|
||||||
networks:
|
networks:
|
||||||
- network
|
- network
|
||||||
ports:
|
|
||||||
- target: 80
|
|
||||||
protocol: tcp
|
|
||||||
mode: ingress
|
|
||||||
deploy:
|
deploy:
|
||||||
replicas: 2
|
replicas: 2
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpus: '0.5'
|
cpus: "0.5"
|
||||||
memory: 32M
|
memory: 32M
|
||||||
reservations:
|
reservations:
|
||||||
cpus: '0.2'
|
cpus: "0.2"
|
||||||
memory: 32M
|
memory: 32M
|
||||||
placement:
|
placement:
|
||||||
max_replicas_per_node: 1
|
max_replicas_per_node: 1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue