You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -55,11 +55,23 @@ Check [Environment variables](#environment-variables) section for more informati
55
55
56
56
It will setup everything, including https certificates, and will start Docker Compose services in the background.
57
57
58
+
## Structure
59
+
60
+
The folder structure is pretty simple but makes you reuse and write less boilerplate code.
61
+
62
+
-`docker-compose.main.yml` - main Docker Compose file with DNS challence, ACME and ports configuration.
63
+
-`build.sh` - `build` script that runs `setup` script with all scripts under `run/services` folder, builds and runs Docker images in background.
64
+
-`.env` - list of environment variables.
65
+
-`run/` - folder with general bash scripts.
66
+
-`run/services/` - folder with bash scripts for a specific service.
67
+
-`services/` - folder with Docker services files. For example, if you have `redis` service, then you would have `services/docker-compose.redis.yml` with specific configuration for `redis` service. Or if your service is a frontend app, then you'll need to clone it to `services/frontend/` and create `services/docker-compose.frontend.yml`.
68
+
-`services/your-service/` - folder with your service, for ex. `frontend`.
69
+
58
70
## What's inside
59
71
60
-
This setup is using [Traefik](https://github.com/traefik/traefik), the cloud native application proxy, that simplifies the process of getting `https` certificates and the way to describe services.
72
+
The setup uses [Traefik](https://github.com/traefik/traefik), the cloud native application proxy, to simplify the process of getting `https` certificates and the way to describe services.
61
73
62
-
You can always delete existing (if you don't need them) or add your own services by following the same structure.
74
+
You can always delete existing (if you don't need them) or add your own services, just make sure to apply necessary changes.
0 commit comments