Skip to content

Commit

Permalink
fix docker e2e setup
Browse files Browse the repository at this point in the history
  • Loading branch information
petrjasek committed Oct 24, 2023
1 parent b4b6421 commit 837a094
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ node_modules
client
e2e/node_modules
e2e/server/env
e2e/dist
server/env

13 changes: 7 additions & 6 deletions e2e/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ services:
dockerfile: e2e/server/Dockerfile
ports:
- "5000:5000"
- "5100:5100"
networks:
- e2e
depends_on:
Expand All @@ -37,12 +38,12 @@ services:
environment:
- WEB_CONCURRENCY=2
- WEBPACK_MANIFEST_PATH=/opt/client-dist/manifest.json
- MONGO_URI=mongodb://mongo/superdesk
- ARCHIVED_MONGO_URI=mongodb://mongo/superdesk
- CONTENTAPI_MONGO_URI=mongodb://mongo/superdesk_capi
- PUBLICAPI_MONGO_URI=mongodb://mongo/superdesk_papi
- LEGAL_ARCHIVE_URI=mongodb://mongo/superdesk_legal
- ARCHIVED_URI=mongodb://mongo/superdesk_archive
- MONGO_URI=mongodb://mongo/e2e_superdesk
- ARCHIVED_MONGO_URI=mongodb://mongo/e2e_archived
- CONTENTAPI_MONGO_URI=mongodb://mongo/e2e_capi
- PUBLICAPI_MONGO_URI=mongodb://mongo/e2e_pubapi
- LEGAL_ARCHIVE_URI=mongodb://mongo/e2e_legal
- ARCHIVED_URI=mongodb://mongo/e2e_archived
- ELASTICSEARCH_URL=http://elastic:9200
- ELASTICSEARCH_INDEX=superdesk_e2e
- CELERY_BROKER_URL=redis://redis:6379/1
Expand Down
2 changes: 1 addition & 1 deletion e2e/server/Procfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
web: python3 -u web.py
rest: gunicorn -c gunicorn_config.py wsgi
wamp: python3 -u ws.py
web: python3 -m http.server -d ../dist 9000

0 comments on commit 837a094

Please sign in to comment.