eggacheb commited on
Commit
905c729
1 Parent(s): 0bba3d0

Create docker-compose.yml

Browse files
Files changed (1) hide show
  1. docker-compose.yml +11 -0
docker-compose.yml ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM pengzhile/new-api:latest
2
+ EXPOSE 3000
3
+ ENV PORT 3000
4
+ ENV THEME=barry
5
+ ENV GLOBAL_WEB_RATE_LIMIT=600
6
+ ENV GLOBAL_API_RATE_LIMIT=1800
7
+
8
+ RUN mkdir /data/logs
9
+ RUN chmod -R 777 /data
10
+
11
+ ENTRYPOINT ["/new-api"]