mirror of
https://github.com/MikroWizard/docker-compose-deployment.git
synced 2025-06-21 10:15:39 +02:00
update to 1.0.2 release of frontend and update readme for frontend
This commit is contained in:
parent
f57ab29780
commit
2c64726daf
2 changed files with 14 additions and 2 deletions
14
README.md
14
README.md
|
@ -65,6 +65,18 @@ This script will:
|
||||||
- Ensure proper permissions.
|
- Ensure proper permissions.
|
||||||
- Create the needed configuration Files
|
- Create the needed configuration Files
|
||||||
|
|
||||||
|
|
||||||
|
Download Latest release of frontend and extract its content to `mikrofront/dist` folder
|
||||||
|
Find latest release from following url:
|
||||||
|
https://github.com/MikroWizard/mikrofront/releases
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cd mikrofront/dist/
|
||||||
|
wget https://github.com/MikroWizard/mikrofront/releases/download/1.0.2-stable/mikrofront-1.0.2.tar.gz
|
||||||
|
tar xvzf mikrofront*.tar.gz
|
||||||
|
```
|
||||||
|
- To verify the contents make sure there is a `html` folder inside `mikrofront/dist` folder with lots of html,js files
|
||||||
|
|
||||||
### Step 4: Start the Services
|
### Step 4: Start the Services
|
||||||
|
|
||||||
Use Docker Compose to build and start the services:
|
Use Docker Compose to build and start the services:
|
||||||
|
@ -115,7 +127,7 @@ Host directories `conf`, `firmware`, and `backups` are mapped to container paths
|
||||||
### Common Issues
|
### Common Issues
|
||||||
|
|
||||||
1. **Database Connection Errors**:
|
1. **Database Connection Errors**:
|
||||||
- Verify the `DB_HOST` in `.env` points to `host.docker.internal` or the appropriate host.
|
- Verify the `DB_HOST` in `.env` points to `host.docker.internal` or the appropriate host leave it 127.0.0.1 for default installation.
|
||||||
2. **Permission Denied**:
|
2. **Permission Denied**:
|
||||||
- Ensure you have execution permissions for `prepare.sh`.
|
- Ensure you have execution permissions for `prepare.sh`.
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ RUN chmod 0644 /etc/cron.d/mwcrontab
|
||||||
|
|
||||||
RUN crontab /etc/cron.d/mwcrontab
|
RUN crontab /etc/cron.d/mwcrontab
|
||||||
|
|
||||||
COPY dist/mikrofront /usr/share/nginx/html
|
COPY dist/html /usr/share/nginx/html
|
||||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue