diff --git a/crates/frontend/src/app.rs b/crates/frontend/src/app.rs
index 8c2922c1..bb8dec5c 100755
--- a/crates/frontend/src/app.rs
+++ b/crates/frontend/src/app.rs
@@ -49,8 +49,8 @@ pub fn app(app_envs: Envs) -> impl IntoView {
diff --git a/crates/superposition/src/main.rs b/crates/superposition/src/main.rs
index b5e70a85..f0078188 100644
--- a/crates/superposition/src/main.rs
+++ b/crates/superposition/src/main.rs
@@ -1,6 +1,7 @@
use actix_web::dev::Service;
use actix_web::web::PathConfig;
use actix_web::HttpMessage;
+use actix_web::middleware::Compress;
use actix_web::{web, web::get, web::scope, web::Data, App, HttpResponse, HttpServer};
use context_aware_config::api::*;
use context_aware_config::helpers::get_meta_schema;
@@ -154,7 +155,8 @@ async fn main() -> Result<()> {
let site_root = &leptos_options.site_root;
let leptos_envs = ui_envs.clone();
let cac_host = cac_host.to_owned() + base.as_str();
- App::new()
+ App::new()
+ .wrap(Compress::default())
.wrap_fn(|req, srv| {
let user = User::default();
req.extensions_mut().insert::(user);
diff --git a/docker-compose.yaml b/docker-compose.yaml
index a2580adc..43472e93 100644
--- a/docker-compose.yaml
+++ b/docker-compose.yaml
@@ -13,7 +13,7 @@ services:
network_mode: bridge
localstack:
- build : ./docker-compose/localstack/
+ build: ./docker-compose/localstack/
container_name: superposition_localstack
ports:
- "4510-4559:4510-4559" # external service port range
@@ -24,3 +24,16 @@ services:
LOCALSTACK_SERVICES: s3, sns, sqs, logs, cloudwatch, kms
AWS_DEFAULT_REGION: ap-south-1
EDGE_PORT: 4566
+
+ app:
+ image: superposition_github:latest
+ container_name: superposition_app
+ ports:
+ - "8080:8080"
+ env_file:
+ - .env
+ depends_on:
+ - postgres
+ - localstack
+ network_mode: bridge
+ restart: on-failure
\ No newline at end of file
diff --git a/makefile b/makefile
index 1b8f658f..158fba1c 100644
--- a/makefile
+++ b/makefile
@@ -106,7 +106,7 @@ superposition_dev:
frontend:
cd crates/frontend && \
- wasm-pack build --target=web --debug --no-default-features --features=hydrate
+ wasm-pack build --target web --dev --no-default-features --features hydrate
cd crates/frontend && \
npx tailwindcss -i ./styles/tailwind.css -o ./pkg/style.css
-rm -rf target/site