docker compose: always pull latest image
Otherwise, there is a risk of using outdated images for some services.
This commit is contained in:
@@ -26,6 +26,7 @@ services:
|
|||||||
|
|
||||||
livekit:
|
livekit:
|
||||||
image: livekit/livekit-server:latest
|
image: livekit/livekit-server:latest
|
||||||
|
pull_policy: always
|
||||||
hostname: livekit-sfu
|
hostname: livekit-sfu
|
||||||
command: --dev --config /etc/livekit.yaml
|
command: --dev --config /etc/livekit.yaml
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@@ -45,6 +46,7 @@ services:
|
|||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:6-alpine
|
image: redis:6-alpine
|
||||||
|
pull_policy: always
|
||||||
command: redis-server /etc/redis.conf
|
command: redis-server /etc/redis.conf
|
||||||
ports:
|
ports:
|
||||||
# HOST_PORT:CONTAINER_PORT
|
# HOST_PORT:CONTAINER_PORT
|
||||||
@@ -57,6 +59,7 @@ services:
|
|||||||
synapse:
|
synapse:
|
||||||
hostname: homeserver
|
hostname: homeserver
|
||||||
image: docker.io/matrixdotorg/synapse:latest
|
image: docker.io/matrixdotorg/synapse:latest
|
||||||
|
pull_policy: always
|
||||||
environment:
|
environment:
|
||||||
- SYNAPSE_CONFIG_PATH=/data/cfg/homeserver.yaml
|
- SYNAPSE_CONFIG_PATH=/data/cfg/homeserver.yaml
|
||||||
# Needed for rootless podman-compose such that the uid/gid mapping does
|
# Needed for rootless podman-compose such that the uid/gid mapping does
|
||||||
@@ -87,6 +90,7 @@ services:
|
|||||||
# see backend/dev_tls_setup for how to generate the tls certs
|
# see backend/dev_tls_setup for how to generate the tls certs
|
||||||
hostname: synapse.m.localhost
|
hostname: synapse.m.localhost
|
||||||
image: nginx:latest
|
image: nginx:latest
|
||||||
|
pull_policy: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./backend/dev_nginx.conf:/etc/nginx/conf.d/default.conf:Z
|
- ./backend/dev_nginx.conf:/etc/nginx/conf.d/default.conf:Z
|
||||||
- ./backend/dev_tls_m.localhost.key:/root/ssl/key.pem:Z
|
- ./backend/dev_tls_m.localhost.key:/root/ssl/key.pem:Z
|
||||||
|
|||||||
Reference in New Issue
Block a user