mirror of
https://github.com/opengram-server/opengram.git
synced 2026-07-23 14:10:16 +03:00
fix(compose): build messenger-query-server locally instead of pulling
Add pull_policy: build so docker compose does not try to pull mytelegram-messenger-query-server-local from a registry (it does not exist there). Fixes 'pull access denied' error.
This commit is contained in:
@@ -458,6 +458,8 @@ services:
|
|||||||
context: ../../source
|
context: ../../source
|
||||||
dockerfile: src/MyTelegram.Messenger.QueryServer/Dockerfile
|
dockerfile: src/MyTelegram.Messenger.QueryServer/Dockerfile
|
||||||
image: mytelegram-messenger-query-server-local:latest
|
image: mytelegram-messenger-query-server-local:latest
|
||||||
|
# Always build locally — this image is not in any registry, so never try to pull it
|
||||||
|
pull_policy: build
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- tg-net
|
- tg-net
|
||||||
|
|||||||
Reference in New Issue
Block a user