version: '3.4' services: vera.mongo: image: mongo:4.2.6 container_name: vera-mongo volumes: - /var/lib/tx3_services/data/db:/data/db command: mongod --bind_ip_all --auth ports: - "27017:27017" restart: always vera.server: image: veraserver20190209075900.azurecr.io/tx3/vera-server: container_name: vera-server expose: - 5000 - 5001 ports: - "8080:5000" - "8443:5001" volumes: - /var/lib/tx3_services:/Data environment: # Provide the SSL Certificate Password and File Name. # The Certificate must be in the Certificates folder. - ASPNETCORE_Kestrel__Certificates__Default__Password= - ASPNETCORE_Kestrel__Certificates__Default__Path=/Data/Certificates/ - ASPNETCORE_URLS=https://+:5001;http://+:5000 - VERA_SERVER_URL=http://localhost:5000 - VERA_SERVER_MONGO_URL=mongodb://tx3_vera:tX3!V3rA!2019@vera.mongo:27017 - VERA_SERVER_DATA_DIR=/Data # Update the JWT Certificate Name and Password. # The Certificate must be in the Certificates folder. - VERA_SERVER_JWT_CERT_NAME= - VERA_SERVER_JWT_CERT_PASSWORD= # Update this encryption key with the key that was used to encrypt service account passwords. - VERA_SERVER_ENCRYPTION_KEY= depends_on: - 'vera.mongo' restart: always vera.web.portal: image: veraserver20190209075900.azurecr.io/tx3/vera-web-portal: container_name: vera-web-portal ports: - "80:80" - "443:443" volumes: - /var/lib/tx3_services:/Data environment: - VERA_WEB_DATA_DIR=/Data - VERA_SERVER_URL=http://vera.server:5000 - VERA_WEB_MONGO_URL=mongodb://tx3_web_sessions:UcBTvT4e7wSr@vera.mongo:27017 # Enter the public URL to the VERA Web Portal - VERA_WEB_URL= # Enter the SSL Certificate file name and password, if using SSL. - VERA_WEB_HTTPS_FILE= - VERA_WEB_HTTPS_PASS= depends_on: - 'vera.mongo' restart: always