Skip to content

Commit ebb3432

Browse files
author
Model Monster
committed
Use fully qualified image names in docker-compose files
Signed-off-by: Model Monster <van@modelmonster.ai>
1 parent 61bb26d commit ebb3432

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

docker-compose-offline.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
services:
22
db:
3-
image: postgres:13
3+
image: docker.io/library/postgres:13
44
env_file:
55
- docker.env
66
volumes:
77
- db_data:/var/lib/postgresql/data/
88

99
redis:
10-
image: redis
10+
image: docker.io/library/redis:latest
1111
# Enable redis data persistence using the "Append Only File" with the
1212
# default policy of fsync every second. See https://redis.io/topics/persistence
1313
command: redis-server --appendonly yes
@@ -45,7 +45,7 @@ services:
4545
- web # Ensure that potential db migrations run first
4646

4747
nginx:
48-
image: nginx
48+
image: docker.io/library/nginx:latest
4949
ports:
5050
- 80:80
5151
- 443:443

docker-compose.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
db:
3-
image: postgres:13
3+
image: docker.io/library/postgres:13
44
env_file:
55
- docker.env
66
volumes:
@@ -9,7 +9,7 @@ services:
99
restart: always
1010

1111
redis:
12-
image: redis
12+
image: docker.io/library/redis:latest
1313
# Enable redis data persistence using the "Append Only File" with the
1414
# default policy of fsync every second. See https://redis.io/topics/persistence
1515
command: redis-server --appendonly yes
@@ -54,7 +54,7 @@ services:
5454
- web
5555

5656
nginx:
57-
image: nginx:alpine
57+
image: docker.io/library/nginx:alpine
5858
ports:
5959
- "${NGINX_PUBLISHED_HTTP_PORT:-80}:80"
6060
- "${NGINX_PUBLISHED_HTTPS_PORT:-443}:443"
@@ -67,7 +67,7 @@ services:
6767
restart: always
6868

6969
clamav:
70-
image: clamav/clamav
70+
image: docker.io/clamav/clamav:latest
7171
volumes:
7272
- clamav_data:/var/lib/clamav
7373
- workspace:/var/scancodeio/workspace/

0 commit comments

Comments
 (0)