2019-10-16 11:27:02 +00:00
|
|
|
version: "3.7"
|
2019-09-17 09:35:13 +00:00
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
appsmith-internal-server:
|
2019-10-16 11:27:02 +00:00
|
|
|
image: arpitappsmith/appsmith-server:maven
|
2020-07-06 09:05:56 +00:00
|
|
|
env_file: envs/docker.env
|
2019-10-16 11:27:02 +00:00
|
|
|
environment:
|
2020-07-06 09:05:56 +00:00
|
|
|
APPSMITH_MONGODB_URI: "mongodb://mongo:27017/mobtools"
|
|
|
|
|
APPSMITH_REDIS_URL: "redis://redis:6379"
|
2019-09-17 09:35:13 +00:00
|
|
|
ports:
|
|
|
|
|
- "8080:8080"
|
|
|
|
|
links:
|
|
|
|
|
- mongo
|
2019-10-16 11:27:02 +00:00
|
|
|
depends_on:
|
|
|
|
|
- mongo
|
2019-09-17 09:35:13 +00:00
|
|
|
networks:
|
|
|
|
|
- appsmith
|
|
|
|
|
|
|
|
|
|
mongo:
|
|
|
|
|
image: mongo
|
|
|
|
|
ports:
|
|
|
|
|
- "27017:27017"
|
2019-10-16 11:27:02 +00:00
|
|
|
environment:
|
|
|
|
|
- MONGO_INITDB_DATABASE=mobtools
|
|
|
|
|
volumes:
|
|
|
|
|
- ./mongo-seed/:/docker-entrypoint-initdb.d/
|
2019-09-17 09:35:13 +00:00
|
|
|
networks:
|
|
|
|
|
- appsmith
|
|
|
|
|
|
2019-10-16 11:27:02 +00:00
|
|
|
redis:
|
|
|
|
|
image: redis
|
|
|
|
|
ports:
|
|
|
|
|
- "6379:6379"
|
|
|
|
|
networks:
|
|
|
|
|
- appsmith
|
|
|
|
|
|
|
|
|
|
opa:
|
|
|
|
|
image: openpolicyagent/opa
|
|
|
|
|
command: "run --server -c /config/config.yml"
|
2019-09-24 12:14:41 +00:00
|
|
|
volumes:
|
2019-10-16 11:27:02 +00:00
|
|
|
- ./appsmith-server/src/main/resources/opa/:/config
|
|
|
|
|
environment:
|
2019-11-13 10:23:23 +00:00
|
|
|
- APPSMITH_SERVER_URL=http://appsmith-internal-server:8080/public
|
2019-10-16 11:27:02 +00:00
|
|
|
ports:
|
|
|
|
|
- "8181:8181"
|
2019-09-24 12:14:41 +00:00
|
|
|
networks:
|
|
|
|
|
- appsmith
|
|
|
|
|
|
2019-09-17 09:35:13 +00:00
|
|
|
networks:
|
|
|
|
|
appsmith:
|
|
|
|
|
driver: bridge
|