Skip to content

Commit

Permalink
refactor(nginx): http port as entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdoret committed Feb 29, 2024
1 parent 238be14 commit b01ae7a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions deploy/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ services:
volumes:
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
ports:
- "3000:3000"
- "80:80"
- "3003:3003"
- "9999:9999"
networks:
Expand Down Expand Up @@ -43,7 +43,7 @@ services:
networks:
- modo-network
environment:
- S3_ENDPOINT=http://minio:9000
- S3_LOCAL_URL=http://minio:9000
- MINIO_SERVER_ACCESS_KEY=user
- MINIO_SERVER_SECRET_KEY=pass
volumes:
Expand All @@ -56,9 +56,9 @@ services:
networks:
- modo-network
environment:
- S3_URL=http://localhost/s3
- S3_URL=http://localhost/s3
- S3_PUBLIC_URL=http://localhost/s3
- S3_LOCAL_URL=http://minio:9000
- HTSGET_PUBLIC_URL=http://localhost/htsget
- HTSGET_LOCAL_URL=http://htsget:8080
- S3_BUCKET=modo-demo
- S3_ENDPOINT=http://minio:9000
- HTSGET_ENDPOINT=http://htsget:8080
command: uvicorn --host 0.0.0.0 --port 8000 --reload server:app
2 changes: 1 addition & 1 deletion deploy/nginx/default.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
server {
listen 3000 ;
listen 80 ;

location / {
proxy_pass http://modo-server:8000;
Expand Down

0 comments on commit b01ae7a

Please sign in to comment.