Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdlaird committed Oct 22, 2024
2 parents 1ebad0c + e6eda1b commit c6ecfeb
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ This builds and starts two containers, one for the API (named `helium_platform_a
name, like:

```shell
docker exec -it helium_platform_api /bin/bash
docker exec -it platform-api-1 /bin/bash
```

Inside the `platform` container, you can run Django commands against the app, like:
Expand Down
1 change: 0 additions & 1 deletion conf/configs/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
PROJECT_APP_HOST = 'http://localhost:3000'
PROJECT_API_HOST = 'http://localhost:8000'
else:

PROJECT_APP_HOST = config('PROJECT_APP_HOST', f'https://www.{ENVIRONMENT_PREFIX}heliumedu.com')
PROJECT_API_HOST = config('PROJECT_API_HOST', f'https://api.{ENVIRONMENT_PREFIX}heliumedu.com')

Expand Down
2 changes: 2 additions & 0 deletions conf/configs/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@
print(f"INFO: Added AWS private IP {private_ips} to ALLOWED_HOSTS")
except Exception as e:
print("INFO: No AWS IPs added to ALLOWED_HOSTS, ignore if not running on AWS")
else:
ALLOWED_HOSTS = common.ALLOWED_HOSTS

# Logging

Expand Down
6 changes: 0 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,10 @@ services:
MYSQL_PASSWORD: "helium"
ports:
- 3306:3306
container_name: helium_db
cache:
image: redis:7.2
ports:
- 6379:6379
container_name: helium_cache
storage:
image: localstack/localstack:s3-latest
environment:
Expand All @@ -22,15 +20,13 @@ services:
- 4566:4566
volumes:
- "./container/init-localstack.py:/etc/localstack/init/ready.d/init-localstack.py"
container_name: helium_storage
resource:
image: helium/platform-resource
env_file: .env
volumes:
- type: bind
source: ./.env
target: /app/.env
container_name: helium_platform_resource
depends_on:
- db
- cache
Expand All @@ -44,7 +40,6 @@ services:
target: /app/.env
ports:
- 8000:8000
container_name: helium_platform_api
depends_on:
- db
- cache
Expand All @@ -58,7 +53,6 @@ services:
- type: bind
source: ./.env
target: /app/.env
container_name: helium_platform_worker
depends_on:
- db
- cache
Expand Down

0 comments on commit c6ecfeb

Please sign in to comment.