newapi / docker-compose.yml
eggacheb's picture
Create docker-compose.yml
905c729 verified
raw
history blame
202 Bytes
FROM pengzhile/new-api:latest
EXPOSE 3000
ENV PORT 3000
ENV THEME=barry
ENV GLOBAL_WEB_RATE_LIMIT=600
ENV GLOBAL_API_RATE_LIMIT=1800
RUN mkdir /data/logs
RUN chmod -R 777 /data
ENTRYPOINT ["/new-api"]