This repository was archived by the owner on Apr 12, 2022. It is now read-only.
File tree 8 files changed +82
-61
lines changed
8 files changed +82
-61
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 1
- FROM node:12-alpine
1
+ FROM node:12
2
2
3
3
WORKDIR /usr/src/app
4
4
5
5
COPY . .
6
6
COPY package*.json .
7
7
8
- RUN yarn \
9
- && yarn build
8
+ RUN yarn
9
+ RUN yarn build
10
+
11
+ EXPOSE 7775
Original file line number Diff line number Diff line change 1
1
# animeloop-server-ts
2
2
Animeloop server based on Typescript
3
+
4
+
5
+ ## Docker Deploy
6
+
7
+ ```
8
+ docker-compose -f docker-compose-<module_name>.yml up --build
9
+ ```
Original file line number Diff line number Diff line change
1
+ version : ' 3'
2
+
3
+ services :
4
+ animeloop-api :
5
+ container_name : animeloop-api
6
+ build :
7
+ context : .
8
+ dockerfile : ./Dockerfile-node
9
+ ports :
10
+ - 7775:7775
11
+ networks :
12
+ - postgres_default
13
+ - redis_default
14
+ command : yarn start:api
15
+ networks :
16
+ postgres_default :
17
+ external : true
18
+ redis_default :
19
+ external : true
Original file line number Diff line number Diff line change
1
+ version : ' 3'
2
+
3
+ services :
4
+ animeloop-automator :
5
+ container_name : animeloop-automator
6
+ build :
7
+ context : .
8
+ dockerfile : ./Dockerfile-automator
9
+ networks :
10
+ - postgres_default
11
+ - redis_default
12
+ command : yarn start:automator
13
+ networks :
14
+ postgres_default :
15
+ external : true
16
+ redis_default :
17
+ external : true
Original file line number Diff line number Diff line change
1
+ version : ' 3'
2
+
3
+ services :
4
+ animeloop-telegrambot :
5
+ container_name : animeloop-telegrambot
6
+ build :
7
+ context : .
8
+ dockerfile : ./Dockerfile-node
9
+ networks :
10
+ - postgres_default
11
+ - redis_default
12
+ command : yarn start:telegrambot
13
+ networks :
14
+ postgres_default :
15
+ external : true
16
+ redis_default :
17
+ external : true
Original file line number Diff line number Diff line change
1
+ version : ' 3'
2
+
3
+ services :
4
+ animeloop-twitterbot :
5
+ container_name : animeloop-twitterbot
6
+ build :
7
+ context : .
8
+ dockerfile : ./Dockerfile-node
9
+ networks :
10
+ - postgres_default
11
+ - redis_default
12
+ command : yarn start:twitterbot
13
+ networks :
14
+ postgres_default :
15
+ external : true
16
+ redis_default :
17
+ external : true
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments