Skip to content
Snippets Groups Projects
Commit 2cc69340 authored by Armin Co's avatar Armin Co
Browse files

Specify environment file fot jitsi

parent a14a543d
Branches
No related tags found
No related merge requests found
--- jitsi/docker-compose.yml 2020-10-24 20:19:22.247496797 +0000
+++ "jitsi/docker-compose copy.yml" 2020-10-24 20:19:53.398937390 +0000
@@ -1,10 +1,11 @@
+++ "jitsi/docker-compose copy.yml" 2020-10-24 21:09:54.319939217 +0000
@@ -1,10 +1,13 @@
-version: '3'
+version: '3.4'
......@@ -10,10 +10,12 @@
image: jitsi/web:latest
restart: ${RESTART_POLICY}
+ container_name: jitsi_web
+ env_file:
+ - env
ports:
- '${HTTP_PORT}:80'
- '${HTTPS_PORT}:443'
@@ -90,6 +91,7 @@
@@ -90,6 +93,7 @@
- XMPP_MUC_DOMAIN
- XMPP_RECORDER_DOMAIN
networks:
......@@ -21,3 +23,30 @@
meet.jitsi:
aliases:
- ${XMPP_DOMAIN}
@@ -98,6 +102,8 @@
prosody:
image: jitsi/prosody:latest
restart: ${RESTART_POLICY}
+ env_file:
+ - env
expose:
- '5222'
- '5347'
@@ -164,6 +170,8 @@
jicofo:
image: jitsi/jicofo:latest
restart: ${RESTART_POLICY}
+ env_file:
+ - env
volumes:
- ${CONFIG}/jicofo:/config:Z
environment:
@@ -193,6 +201,8 @@
jvb:
image: jitsi/jvb:latest
restart: ${RESTART_POLICY}
+ env_file:
+ - env
ports:
- '${JVB_PORT}:${JVB_PORT}/udp'
- '${JVB_TCP_PORT}:${JVB_TCP_PORT}'
......@@ -59,4 +59,4 @@ cp ../jitsi-auto-config/jitsi.subdomain.conf.example ../letsencrypt-webserver/re
# Move environment variables
# to the correct position
# for docker-compose
cp .env ../.env
\ No newline at end of file
cp .env env
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment