Hi, I seems to of fallen at the first hurdle. The first thing I tried to do is change the docker-compose file from https://github.com/jitsi/docker-jitsi-meet to add three varables used by my nginx-procy (https://github.com/funkytwig/nginx-proxy).
i.e.
$ git diff docker-compose.yml
diff --git a/docker-compose.yml b/docker-compose.yml
index 5c9d0f6..616b64c 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -13,6 +13,9 @@ services:
- ${CONFIG}/web/letsencrypt:/etc/letsencrypt:Z
- ${CONFIG}/transcripts:/usr/share/jitsi-meet/transcripts:Z
environment:
+ VIRTUAL_HOST: jitsi.domain.tv
+ LETSENCRYPT_HOST: jitsi.domain.tv
+ LETSENCRYPT_EMAIL: bene@domain.com
- ENABLE_AUTH
- ENABLE_GUESTS
- ENABLE_LETSENCRYPT
@@ -167,3 +170,4 @@ services:
# Custom network so all services can communicate using a FQDN
networks:
meet.jitsi:
+
This is at the begining of the envirmment section on the web service (the first). Whan I try to do a ‘docker-compose up’ I get:
$ docker-compose up
ERROR: yaml.parser.ParserError: while parsing a block collection
in "./docker-compose.yml", line 16, column 13
expected <block end>, but found '?'
in "./docker-compose.yml", line 41, column 13
Ime totaly stumped.
This has nothing to do with Jitsi. As the error message says, there is a problem with the YAML format of your Compose file. I can’t figure out the diff, but it could be that List and Dictionary Style are mixed?
Thanks for replying. Did some google for list style and dictionary style for docker-compose. did not get any useful hits. Not quite sure what you mean.
Here is what I added (marked in bold)
The whole file is
version: '3'
services:
# Frontend
web:
image: jitsi/web:latest
restart: ${RESTART_POLICY}
ports:
- '${HTTP_PORT}:80'
- '${HTTPS_PORT}:443'
volumes:
- ${CONFIG}/web:/config:Z
- ${CONFIG}/web/letsencrypt:/etc/letsencrypt:Z
- ${CONFIG}/transcripts:/usr/share/jitsi-meet/transcripts:Z
environment:
VIRTUAL_HOST: jitsi.tvpp.tv
LETSENCRYPT_HOST: jitsi.tvpp.tv
LETSENCRYPT_EMAIL: bene@funkytwig.com
- ENABLE_AUTH
- ENABLE_GUESTS
- ENABLE_LETSENCRYPT
- ENABLE_HTTP_REDIRECT
- ENABLE_TRANSCRIPTIONS
- DISABLE_HTTPS
- JICOFO_AUTH_USER
- LETSENCRYPT_DOMAIN
- LETSENCRYPT_EMAIL
- PUBLIC_URL
- XMPP_DOMAIN
- XMPP_AUTH_DOMAIN
- XMPP_BOSH_URL_BASE
- XMPP_GUEST_DOMAIN
- XMPP_MUC_DOMAIN
- XMPP_RECORDER_DOMAIN
- ETHERPAD_URL_BASE
- TZ
- JIBRI_BREWERY_MUC
- JIBRI_PENDING_TIMEOUT
- JIBRI_XMPP_USER
- JIBRI_XMPP_PASSWORD
- JIBRI_RECORDER_USER
- JIBRI_RECORDER_PASSWORD
- ENABLE_RECORDING
networks:
meet.jitsi:
aliases:
- ${XMPP_DOMAIN}
# XMPP server
prosody:
image: jitsi/prosody:latest
restart: ${RESTART_POLICY}
expose:
- '5222'
- '5347'
- '5280'
volumes:
- ${CONFIG}/prosody/config:/config:Z
- ${CONFIG}/prosody/prosody-plugins-custom:/prosody-plugins-custom:Z
environment:
- AUTH_TYPE
- ENABLE_AUTH
- ENABLE_GUESTS
- GLOBAL_MODULES
- GLOBAL_CONFIG
- LDAP_URL
- LDAP_BASE
- LDAP_BINDDN
- LDAP_BINDPW
- LDAP_FILTER
- LDAP_AUTH_METHOD
- LDAP_VERSION
- LDAP_USE_TLS
- LDAP_TLS_CIPHERS
- LDAP_TLS_CHECK_PEER
- LDAP_TLS_CACERT_FILE
- LDAP_TLS_CACERT_DIR
- LDAP_START_TLS
- XMPP_DOMAIN
- XMPP_AUTH_DOMAIN
- XMPP_GUEST_DOMAIN
- XMPP_MUC_DOMAIN
- XMPP_INTERNAL_MUC_DOMAIN
- XMPP_MODULES
- XMPP_MUC_MODULES
- XMPP_INTERNAL_MUC_MODULES
- XMPP_RECORDER_DOMAIN
- JICOFO_COMPONENT_SECRET
- JICOFO_AUTH_USER
- JICOFO_AUTH_PASSWORD
- JVB_AUTH_USER
- JVB_AUTH_PASSWORD
- JIGASI_XMPP_USER
- JIGASI_XMPP_PASSWORD
- JIBRI_XMPP_USER
- JIBRI_XMPP_PASSWORD
- JIBRI_RECORDER_USER
- JIBRI_RECORDER_PASSWORD
- JWT_APP_ID
- JWT_APP_SECRET
- JWT_ACCEPTED_ISSUERS
- JWT_ACCEPTED_AUDIENCES
- JWT_ASAP_KEYSERVER
- JWT_ALLOW_EMPTY
- JWT_AUTH_TYPE
- JWT_TOKEN_AUTH_MODULE
- LOG_LEVEL
- TZ
networks:
meet.jitsi:
aliases:
- ${XMPP_SERVER}
# Focus component
jicofo:
image: jitsi/jicofo:latest
restart: ${RESTART_POLICY}
volumes:
- ${CONFIG}/jicofo:/config:Z
environment:
- AUTH_TYPE
- ENABLE_AUTH
- XMPP_DOMAIN
- XMPP_AUTH_DOMAIN
- XMPP_INTERNAL_MUC_DOMAIN
- XMPP_SERVER
- JICOFO_COMPONENT_SECRET
- JICOFO_AUTH_USER
- JICOFO_AUTH_PASSWORD
- JICOFO_RESERVATION_REST_BASE_URL
- JVB_BREWERY_MUC
- JIGASI_BREWERY_MUC
- JIGASI_SIP_URI
- JIBRI_BREWERY_MUC
- JIBRI_PENDING_TIMEOUT
- TZ
depends_on:
- prosody
networks:
meet.jitsi:
# Video bridge
jvb:
image: jitsi/jvb:latest
restart: ${RESTART_POLICY}
ports:
- '${JVB_PORT}:${JVB_PORT}/udp'
- '${JVB_TCP_MAPPED_PORT}:${JVB_TCP_PORT}'
volumes:
- ${CONFIG}/jvb:/config:Z
environment:
- DOCKER_HOST_ADDRESS
- XMPP_AUTH_DOMAIN
- XMPP_INTERNAL_MUC_DOMAIN
- XMPP_SERVER
- JVB_AUTH_USER
- JVB_AUTH_PASSWORD
- JVB_BREWERY_MUC
- JVB_PORT
- JVB_TCP_HARVESTER_DISABLED
- JVB_TCP_PORT
- JVB_STUN_SERVERS
- JVB_ENABLE_APIS
- TZ
depends_on:
- prosody
networks:
meet.jitsi:
I am not sure what you are trying to accomplish, but:
The error message has already given a very clear indication of the cause.
This is not a valid YAML syntax:
environment:
VIRTUAL_HOST: jitsi.tvpp.tv
LETSENCRYPT_HOST: jitsi.tvpp.tv
LETSENCRYPT_EMAIL: bene@funkytwig.com
- ENABLE_AUTH
- ENABLE_GUESTS
- ENABLE_LETSENCRYPT
......
Try it with:
environment:
- VIRTUAL_HOST=jitsi.tvpp.tv
- LETSENCRYPT_HOST=jitsi.tvpp.tv
- LETSENCRYPT_EMAIL=bene@funkytwig.com
- ENABLE_AUTH
- ENABLE_GUESTS
- ENABLE_LETSENCRYPT
......
OK worked out what the style thing was, thanks.