change: Change the default port

Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
Awiteb 2024-07-20 21:50:13 +03:00
parent 17603584f6
commit 9ff5548601
Signed by: awiteb
GPG key ID: 3F6B55640AA6682F
2 changed files with 3 additions and 3 deletions

View file

@ -37,7 +37,7 @@ pub(crate) mod server {
IpAddr::V4(Ipv4Addr::new(127, 0, 0, 1)) IpAddr::V4(Ipv4Addr::new(127, 0, 0, 1))
} }
pub const fn port() -> u16 { pub const fn port() -> u16 {
3873 7294
} }
pub fn private_key() -> PrivateKey { pub fn private_key() -> PrivateKey {
K256Secret::new().privkey() K256Secret::new().privkey()

View file

@ -8,7 +8,7 @@ services:
environment: environment:
- OXIDETALIS_CONFIG=/app/config.toml - OXIDETALIS_CONFIG=/app/config.toml
ports: ports:
- 8000:8000 - 127.0.0.1:7294:7294
depends_on: depends_on:
- db - db
volumes: volumes:
@ -22,4 +22,4 @@ services:
POSTGRES_DB: oxidetalis_db POSTGRES_DB: oxidetalis_db
# This for devlopment only # This for devlopment only
ports: ports:
- 5432:5432 - 127.0.0.1:5432:5432