Skip to content

Commit

Permalink
add docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
petrjasek committed May 16, 2024
1 parent d5f4ea5 commit 0a8e51a
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"superdesk-planning": "github:superdesk/superdesk-planning#release/2.7"
},
"scripts": {
"build": "npx @superdesk/build-tools build-root-repo ./"
"build": "npx @superdesk/build-tools build-root-repo ./",
"start": "npx grunt server"
},
"devDependencies": {
"@superdesk/build-tools": "^1.0.18"
Expand Down
36 changes: 36 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
version: "3.2"
services:

mongodb:
image: mongo:4
networks:
- superdesk
expose:
- "27017"
ports:
- "27017:27017"

redis:
image: redis:3
networks:
- superdesk
expose:
- "6379"
ports:
- "6379:6379"

elastic:
image: docker.elastic.co/elasticsearch/elasticsearch:7.10.1
environment:
- discovery.type=single-node
networks:
- superdesk
expose:
- "9200"
- "9300"
ports:
- "9200:9200"

networks:
superdesk:
driver: bridge

0 comments on commit 0a8e51a

Please sign in to comment.