Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b429f6256b | ||
|
|
951698797b |
@@ -79,8 +79,8 @@ jobs:
|
||||
docker pull gitea.iceberg.black/$REPO_LOWER:$TAG
|
||||
docker logout gitea.iceberg.black
|
||||
|
||||
docker stop chat || true
|
||||
docker rm chat || true
|
||||
docker stop chat-api || true
|
||||
docker rm chat-api || true
|
||||
|
||||
cd /home/shared/iceberg/chat/chat-api
|
||||
REPO_LOWER=$REPO_LOWER TAG=$TAG docker compose up -d
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
services:
|
||||
chat:
|
||||
image: gitea.iceberg.black/${REPO_LOWER}:${TAG}
|
||||
container_name: chat
|
||||
container_name: chat-api
|
||||
|
||||
env_file:
|
||||
- .env
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@ async fn main() {
|
||||
// }
|
||||
|
||||
let app = app();
|
||||
let addr = SocketAddr::from(([127, 0, 0, 1], 3000));
|
||||
let addr = SocketAddr::from(([0, 0, 0, 0], 3000));
|
||||
println!("Server running on {}", addr);
|
||||
|
||||
axum::serve(tokio::net::TcpListener::bind(addr).await.unwrap(), app)
|
||||
|
||||
Reference in New Issue
Block a user