* Move application configuration to be loaded from environment variables * Remove unused sentry.properties * Make missing value sentinel a constant and ignore all *.env files * Removed now-used ACL properties * Prefix RapidAPI environment variable with APPSMITH_ * Fix application properties not being loaded into static fields * Remove application-test.properties file * Add required env variables for test in GitHub * Quote URLs for MongoDB and Redis in test config * Change RAPIDAPI to RAPID_API in environment variable names * Source .env file in the root of repo in start script
51 lines
1.0 KiB
YAML
51 lines
1.0 KiB
YAML
version: "3.7"
|
|
|
|
services:
|
|
appsmith-internal-server:
|
|
image: arpitappsmith/appsmith-server:maven
|
|
env_file: envs/docker.env
|
|
environment:
|
|
APPSMITH_MONGODB_URI: "mongodb://mongo:27017/mobtools"
|
|
APPSMITH_REDIS_URL: "redis://redis:6379"
|
|
ports:
|
|
- "8080:8080"
|
|
links:
|
|
- mongo
|
|
depends_on:
|
|
- mongo
|
|
networks:
|
|
- appsmith
|
|
|
|
mongo:
|
|
image: mongo
|
|
ports:
|
|
- "27017:27017"
|
|
environment:
|
|
- MONGO_INITDB_DATABASE=mobtools
|
|
volumes:
|
|
- ./mongo-seed/:/docker-entrypoint-initdb.d/
|
|
networks:
|
|
- appsmith
|
|
|
|
redis:
|
|
image: redis
|
|
ports:
|
|
- "6379:6379"
|
|
networks:
|
|
- appsmith
|
|
|
|
opa:
|
|
image: openpolicyagent/opa
|
|
command: "run --server -c /config/config.yml"
|
|
volumes:
|
|
- ./appsmith-server/src/main/resources/opa/:/config
|
|
environment:
|
|
- APPSMITH_SERVER_URL=http://appsmith-internal-server:8080/public
|
|
ports:
|
|
- "8181:8181"
|
|
networks:
|
|
- appsmith
|
|
|
|
networks:
|
|
appsmith:
|
|
driver: bridge |