Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taskcenter
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Odysseus
taskcenter
Commits
e624b78b
Commit
e624b78b
authored
Aug 08, 2024
by
贾浩@五瓣科技
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
24af7eae
Pipeline
#798
canceled with stages
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
30 deletions
+9
-30
Makefile
Makefile
+1
-4
docker-compose.yml
docker-compose.yml
+6
-24
readme.md
readme.md
+2
-2
No files found.
Makefile
View file @
e624b78b
...
@@ -9,8 +9,5 @@ all: api
...
@@ -9,8 +9,5 @@ all: api
api
:
api
:
go build
$(BUILD_FLAGS)
-v
-o
=
${
GOBIN
}
/
$@
./cmd/api
go build
$(BUILD_FLAGS)
-v
-o
=
${
GOBIN
}
/
$@
./cmd/api
messenger
:
go build
$(BUILD_FLAGS)
-v
-o
=
${
GOBIN
}
/
$@
./cmd/messenger
docker
:
docker
:
docker build
-t
caduceus/t
g-messeng
er:latest
-f
Dockerfile .
docker build
-t
caduceus/t
askcent
er:latest
-f
Dockerfile .
docker-compose.yml
View file @
e624b78b
...
@@ -3,40 +3,22 @@ networks:
...
@@ -3,40 +3,22 @@ networks:
name
:
aon-backend
name
:
aon-backend
services
:
services
:
t
g-messeng
er-api
:
t
askcent
er-api
:
image
:
caduceus/t
g-messeng
er:latest
image
:
caduceus/t
askcent
er:latest
pull_policy
:
always
pull_policy
:
always
container_name
:
t
g-messeng
er-api
container_name
:
t
askcent
er-api
ports
:
ports
:
-
"
166
69
:8080"
-
"
166
70
:8080"
depends_on
:
depends_on
:
aon-db
:
aon-db
:
condition
:
service_healthy
condition
:
service_healthy
volumes
:
volumes
:
-
./conf/t
g-messenger
/config.toml:/config.toml
-
./conf/t
askcenter-api
/config.toml:/config.toml
-
./data/t
g-messenger
/api-log:/app
-
./data/t
askcenter-api
/api-log:/app
command
:
command
:
-
"
/bin/sh"
-
"
/bin/sh"
-
"
-c"
-
"
-c"
-
"
/usr/bin/api
-c
/config.toml"
-
"
/usr/bin/api
-c
/config.toml"
restart
:
restart
:
unless-stopped
unless-stopped
\ No newline at end of file
tg-messenger
:
image
:
caduceus/tg-messenger:latest
pull_policy
:
always
container_name
:
tg-messenger
depends_on
:
aon-db
:
condition
:
service_healthy
volumes
:
-
./conf/tg-messenger/config.toml:/config.toml
-
./data/tg-messenger/messenger-log:/app
command
:
-
"
/bin/sh"
-
"
-c"
-
"
/usr/bin/messenger
-c
/config.toml"
restart
:
unless-stopped
\ No newline at end of file
readme.md
View file @
e624b78b
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
和sdk部分共用一个数据库,启动&停止命令
和sdk部分共用一个数据库,启动&停止命令
```
```
docker compose
-f docker-compose-ai-sdk-api.yml -f docker-compose-tg-messenger.yml
up -d tg-messenger tg-messenger-api
docker compose up -d tg-messenger tg-messenger-api
docker compose
-f docker-compose-ai-sdk-api.yml -f docker-compose-tg-messenger.yml
down tg-messenger tg-messenger-api
docker compose down tg-messenger tg-messenger-api
```
```
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment