appmanage 0.8.10

This commit is contained in:
qiaofeng1227 2023-08-03 16:30:49 +08:00
parent b6c4a335ed
commit 945295a317
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ COPY static ./static
COPY requirements.txt main.py hostname.py database.sqlite ./ COPY requirements.txt main.py hostname.py database.sqlite ./
RUN apt update RUN apt update
# Install supervisord # Install supervisords
RUN apt install -y supervisor iproute2 RUN apt install -y supervisor iproute2
COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
COPY config/cmd.sh /cmd.sh COPY config/cmd.sh /cmd.sh

View file

@ -8,7 +8,7 @@ services:
privileged: true privileged: true
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- appmanage:/usr/src/app/logs - appmanage:/usr/src/app
entrypoint: bash -c "/cmd.sh" entrypoint: bash -c "/cmd.sh"
ports: ports:
- ${APP_HTTP_PORT}:5000 - ${APP_HTTP_PORT}:5000