Spaces:
Build error
Build error
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,29 +1,8 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
## Installation
|
| 10 |
-
|
| 11 |
-
### 1. Configure image
|
| 12 |
-
|
| 13 |
-
- Configure image in the `settings.sh` file.
|
| 14 |
-
- If you have static sites you want to add, you can add their nginx `.config`'s in `fs/etc/nginx/conf.d/`. Do not name your config `dynamic.conf` as that is what is used by docker-gen.
|
| 15 |
-
|
| 16 |
-
### 2. Build the image
|
| 17 |
-
|
| 18 |
-
Run the `build.sh` file to generate the Docker image `hnc-web`.
|
| 19 |
-
|
| 20 |
-
### 2. Deploy the container
|
| 21 |
-
|
| 22 |
-
To spawn a temporary container run `test.sh`.
|
| 23 |
-
You can manually start the services via executing `/srv/launch.sh`.
|
| 24 |
-
|
| 25 |
-
To deploy a dedicated container run `deploy.sh`.
|
| 26 |
-
The dedicated container will also create a mounted volume which is mounted at `/etc/nginx` in the container. This volume can be useful if you need to manually backup/restore certs from the `/etc/nginx/certs` directory in the container.
|
| 27 |
-
|
| 28 |
-
From here on you can use `docker start hnc-web` and `docker stop hnc-web` to control the container.
|
| 29 |
-
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Testing
|
| 3 |
+
emoji: 🦀
|
| 4 |
+
colorFrom: green
|
| 5 |
+
colorTo: red
|
| 6 |
+
sdk: docker
|
| 7 |
+
pinned: false
|
| 8 |
+
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|