Skip to content

Commit 91f51e6

Browse files
authored
Merge pull request #461 from target/Add-Pull-Policy-Always
Adding Pull Policy to Latest Images
2 parents 3439953 + c9ea74d commit 91f51e6

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

build/docker-compose-no-build.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: '2'
1+
version: '3.7'
22

33
networks:
44
net:
@@ -10,6 +10,7 @@ services:
1010
frontend:
1111
image: target/strelka-frontend:latest
1212
command: strelka-frontend
13+
pull_policy: always
1314
ports:
1415
- 57314:57314 # must match the port in frontend.yaml
1516
networks:
@@ -25,6 +26,7 @@ services:
2526
backend:
2627
image: target/strelka-backend:latest
2728
command: strelka-backend
29+
pull_policy: always
2830
shm_size: 512mb # increase as necessary, required for some scanners
2931
networks:
3032
- net
@@ -77,6 +79,7 @@ services:
7779

7880
ui:
7981
image: target/strelka-ui:latest
82+
pull_policy: always
8083
environment:
8184
- DATABASE_HOST=postgresdb
8285
- DATABASE_NAME=strelka_ui

build/docker-compose.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: '2'
1+
version: '3.7'
22

33
networks:
44
net:
@@ -83,6 +83,7 @@ services:
8383

8484
ui:
8585
image: target/strelka-ui:latest
86+
pull_policy: always
8687
environment:
8788
- DATABASE_HOST=postgresdb
8889
- DATABASE_NAME=strelka_ui

0 commit comments

Comments
 (0)