I have only used a few different Docker apps, before, and always with docker-compose. Forgive me if there is a guide that explains this, but I couldn't find one...
One of the apps I use has a default yml file below. What's the proper format to input these variables via the SCALE UI?
One of the apps I use has a default yml file below. What's the proper format to input these variables via the SCALE UI?
Code:
version: "3.2" services: mongodb: image: mongo:4 networks: - superdesk redis: image: redis:3 networks: - superdesk elastic: image: docker.elastic.co/elasticsearch/elasticsearch:7.10.1 environment: - discovery.type=single-node networks: - superdesk superdesk-server: image: sourcefabricoss/superdesk-server:latest depends_on: - redis - mongodb - elastic environment: - DEMO_DATA=1 # install demo data, set to 0 if you want clean install - WEB_CONCURRENCY=2 - SUPERDESK_CLIENT_URL=http://localhost:8080 - CONTENTAPI_URL=http://localhost:8080/capi - MONGO_URI=mongodb://mongodb/superdesk - CONTENTAPI_MONGO_URI=mongodb://mongodb/superdesk_capi - PUBLICAPI_MONGO_URI=mongodb://mongodb/superdesk_papi - LEGAL_ARCHIVE_URI=mongodb://mongodb/superdesk_legal - ARCHIVED_URI=mongodb://mongodb/superdesk_archive - ELASTICSEARCH_URL=http://elastic:9200 - ELASTICSEARCH_INDEX=superdesk - CELERY_BROKER_URL=redis://redis:6379/1 - REDIS_URL=redis://redis:6379/1 - DEFAULT_TIMEZONE=Europe/Prague - SECRET_KEY # More configuration options can be found at https://superdesk.readthedocs.io/en/latest/settings.html networks: - superdesk superdesk-client: image: sourcefabricoss/superdesk-client:latest environment: # If not hosting on localhost, change these lines - SUPERDESK_URL=http://localhost:8080/api - SUPERDESK_WS_URL=ws://localhost:8080/ws - IFRAMELY_KEY depends_on: - superdesk-server ports: - "8080:80" networks: - superdesk networks: superdesk: driver: bridge