From 9ff5548601c4f6b8aee9522601f4723c2a50fdae Mon Sep 17 00:00:00 2001 From: Awiteb Date: Sat, 20 Jul 2024 21:50:13 +0300 Subject: [PATCH] change: Change the default port Signed-off-by: Awiteb --- crates/oxidetalis_config/src/defaults.rs | 2 +- docker-compose.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/oxidetalis_config/src/defaults.rs b/crates/oxidetalis_config/src/defaults.rs index 9365961..f2c73e7 100644 --- a/crates/oxidetalis_config/src/defaults.rs +++ b/crates/oxidetalis_config/src/defaults.rs @@ -37,7 +37,7 @@ pub(crate) mod server { IpAddr::V4(Ipv4Addr::new(127, 0, 0, 1)) } pub const fn port() -> u16 { - 3873 + 7294 } pub fn private_key() -> PrivateKey { K256Secret::new().privkey() diff --git a/docker-compose.yml b/docker-compose.yml index a350389..61d0566 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,7 +8,7 @@ services: environment: - OXIDETALIS_CONFIG=/app/config.toml ports: - - 8000:8000 + - 127.0.0.1:7294:7294 depends_on: - db volumes: @@ -22,4 +22,4 @@ services: POSTGRES_DB: oxidetalis_db # This for devlopment only ports: - - 5432:5432 + - 127.0.0.1:5432:5432