Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions dev.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/bin/bash
cat env.example > .env

cd ./cli
{ yarn install && yarn build; } > /dev/null 2>&1
yarn start

docker-compose watch
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ services:
- "9697:9697"
- "3333:3333"
- "5434:5434"
- "6379:6379"
- "6385:6379"

extra_hosts:
- "host.docker.internal:host-gateway"
Expand Down
4 changes: 2 additions & 2 deletions setup_utils/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ autostart=%(ENV_REDIS_ENABLED)s

[program:backend_sync]
priority=5
command=/bin/bash -c "/opt/venv/bin/gunicorn -w 2 -b 0.0.0.0:9697 --timeout 0 --reload sync_app:app"
command=/bin/bash -c "/opt/venv/bin/gunicorn -w 2 -b 0.0.0.0:9697 --timeout 0 sync_app:app"
directory=/app/backend/analytics_server
stdout_logfile=/var/log/apiserver/apiserver.log
stdout_logfile_maxbytes=512KB
Expand All @@ -53,7 +53,7 @@ autostart=%(ENV_BACKEND_ENABLED)s

[program:backend]
priority=4
command=/bin/bash -c "/opt/venv/bin/gunicorn -w 4 -b 0.0.0.0:9696 --reload app:app"
command=/bin/bash -c "/opt/venv/bin/gunicorn -w 4 -b 0.0.0.0:9696 app:app"
directory=/app/backend/analytics_server
stdout_logfile=/var/log/apiserver/apiserver.log
stdout_logfile_maxbytes=512KB
Expand Down