diff --git a/appmanage/Dockerfile b/appmanage/Dockerfile index cff9abdc..d9418c4e 100644 --- a/appmanage/Dockerfile +++ b/appmanage/Dockerfile @@ -19,7 +19,9 @@ COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf COPY config/cmd.sh /cmd.sh RUN chmod +x /etc/supervisor/conf.d/supervisord.conf /cmd.sh RUN pip install -r requirements.txt -RUN mkdir /data +RUN mkdir /data +RUN mkdir /usr/src/app/config +COPY config/settings.conf /usr/src/app/config/ # Expose the port in which the application will be deployed EXPOSE 5000 diff --git a/appmanage/config/settings.conf b/appmanage/config/settings.conf new file mode 100644 index 00000000..4c43d7ae --- /dev/null +++ b/appmanage/config/settings.conf @@ -0,0 +1,10 @@ +#appstore_preview_update=false +#domain=test.websoft9.com + +#email=help@websoft9.com +#ip=127.0.0.1 +#smtp_port=743 +#smtp_server=smtp.websoft9.com +#smtp_tls/ssl=true +#smtp_user=admin +#smtp_password=password \ No newline at end of file diff --git a/appmanage/database.sqlite b/appmanage/database.sqlite index 0b88c5b6..11c02743 100644 Binary files a/appmanage/database.sqlite and b/appmanage/database.sqlite differ diff --git a/docker/w9appmanage/docker-compose.yml b/docker/w9appmanage/docker-compose.yml index b6adb8a4..1eeb9194 100644 --- a/docker/w9appmanage/docker-compose.yml +++ b/docker/w9appmanage/docker-compose.yml @@ -10,6 +10,7 @@ services: volumes: - appmanage-logs:/usr/src/app/logs - appmanage-db:/usr/src/app/db + - appmanage-config:/usr/src/app/config entrypoint: bash -c "/cmd.sh" ports: - ${APP_HTTP_PORT}:5000