mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-24 01:48:29 +01:00
running as matrix user from the start
This commit is contained in:
parent
278484656b
commit
c2834d2226
@ -11,7 +11,8 @@ ExecStartPre=-/usr/bin/docker kill matrix-appservice-discord
|
||||
ExecStartPre=-/usr/bin/docker rm matrix-appservice-discord
|
||||
ExecStart=/usr/bin/docker run --rm --name matrix-appservice-discord \
|
||||
--log-driver=none \
|
||||
-e "UID={{ matrix_user_uid }}" -e "GID={{ matrix_user_gid }}" \
|
||||
--user={{ matrix_user_uid }}:{{ matrix_user_gid }} \
|
||||
--cap-drop=ALL \
|
||||
--network={{ matrix_docker_network }} \
|
||||
{% if matrix_appservice_discord_container_expose_client_server_api_port %}
|
||||
-p 127.0.0.1:9005:9005 \
|
||||
|
Loading…
Reference in New Issue
Block a user