change: Change the default port
All checks were successful
Write changelog / write-changelog (push) Successful in 4s
Update Contributors / Update Contributors (push) Successful in 5s
Rust CI / Rust CI (push) Successful in 4m23s

Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
Awiteb 2024-07-20 21:50:13 +03:00
parent c4734d2698
commit 4964ba085f
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