Skip to content
This repository was archived by the owner on Apr 12, 2022. It is now read-only.

Commit 0e63efe

Browse files
committed
update
1 parent 280fc1e commit 0e63efe

7 files changed

+14
-10
lines changed

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
storage
33
src/config.ts
44
config.js
5+
docker-compose-api.yml
6+
docker-compose-automator.yml
7+
docker-compose-telegrambot.yml
8+
docker-compose-twitterbot.yml
59

610
# VS Code
711
.vscode

Dockerfile-node

-2
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,3 @@ COPY package*.json .
77

88
RUN yarn
99
RUN yarn build
10-
11-
EXPOSE 7775

docker-compose-api.yml renamed to docker-compose-api.example.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ services:
66
build:
77
context: .
88
dockerfile: ./Dockerfile-node
9+
expose:
10+
- 8080
911
ports:
10-
- 7775:7775
12+
- 11101:8080
1113
networks:
1214
- postgres_default
1315
- redis_default
File renamed without changes.
File renamed without changes.

src/config.example.ts

+7-7
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ const config: IConfig = {
1111
username: 'root',
1212
password: 'password',
1313
},
14+
redis: {
15+
host: '127.0.0.1',
16+
port: 6379,
17+
auth: '',
18+
db: 10
19+
},
1420
minio: {
1521
endPoint: '127.0.0.1',
1622
port: 9000,
@@ -58,17 +64,11 @@ const config: IConfig = {
5864
*/
5965
api: {
6066
host: '127.0.0.1',
61-
port: 7775,
67+
port: 8080,
6268
},
6369
automator: {},
6470
twitterBot: {},
6571
telegramBot: {},
66-
redis: {
67-
host: '127.0.0.1',
68-
port: 6379,
69-
auth: '',
70-
db: 10
71-
},
7272
minioS3: {
7373
bucketName: 'animeloop-dev',
7474
bucketBaseUrl: 'http://127.0.0.1:9000',

0 commit comments

Comments
 (0)