mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-22 07:30:24 +00:00
appmanage 0.8.10
This commit is contained in:
parent
b6c4a335ed
commit
945295a317
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue