aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-01-21 09:15:41 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-01-21 09:15:41 +0100
commitb63e4aa0d29fd9aff642d1465c4fd04ba66f0e9c (patch)
tree7b4eb35a860db822a3bc2bce75eff99c42adc339 /docker-compose.yml
parentREADME: add a CI badge (diff)
downloadwg-api-web-b63e4aa0d29fd9aff642d1465c4fd04ba66f0e9c.tar.gz
wg-api-web-b63e4aa0d29fd9aff642d1465c4fd04ba66f0e9c.zip
docker: fix image tags
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 4d8b527..82b228a 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -10,14 +10,17 @@ services:
web:
<< : *default-settings
depends_on: [api]
- image: egortensin/wg-api-web:latest
+ image: egortensin/wg-api-web:1
ports:
- '8090:80'
volumes:
- './data:/data:ro'
api:
<< : *default-settings
- image: james/wg-api:latest
+ # Pin to 'latest' or to a different hash if running on something other than
+ # x64. The hash was used because the upstream image doesn't use versions
+ # (as of Jan 2023).
+ image: james/wg-api@sha256:76428f4fe0efee9e0d17c8d89920535d536675f604a9f5081075615cac0d2411
cap_add:
- NET_ADMIN
network_mode: host