|
|
@ -30,7 +30,7 @@ The `config` file contains lines which will in the gogs docker container end up |
|
|
|
Here you can define things like the MySQL server for your database block. |
|
|
|
Here you can define things like the MySQL server for your database block. |
|
|
|
|
|
|
|
|
|
|
|
The `fig` file will just be added to `fig.yml`, which is used by fig to manage your containers. |
|
|
|
The `fig` file will just be added to `fig.yml`, which is used by fig to manage your containers. |
|
|
|
This inculdes container linking! |
|
|
|
This includes container linking! |
|
|
|
|
|
|
|
|
|
|
|
Just have a look at them and it will be clear how to write your own blocks. |
|
|
|
Just have a look at them and it will be clear how to write your own blocks. |
|
|
|
|
|
|
|
|
|
|
@ -53,7 +53,7 @@ Example: |
|
|
|
More sophisticated Example |
|
|
|
More sophisticated Example |
|
|
|
-------------------------- |
|
|
|
-------------------------- |
|
|
|
|
|
|
|
|
|
|
|
Her is a more elaborated example |
|
|
|
Here is a more elaborated example |
|
|
|
|
|
|
|
|
|
|
|
```sh |
|
|
|
```sh |
|
|
|
./assemble_blocks.sh docker_gogs w_db_cache_session option_db_postgresql option_cache_redis option_session_mysql |
|
|
|
./assemble_blocks.sh docker_gogs w_db_cache_session option_db_postgresql option_cache_redis option_session_mysql |
|
|
@ -86,4 +86,4 @@ This will pull in the `Dockerfile` from `docker_gogs` instead of the one from `d |
|
|
|
`Dockerfile`s for the `master` and `dev` branch are provided as `docker_gogs` and `docker_gogs_dev` |
|
|
|
`Dockerfile`s for the `master` and `dev` branch are provided as `docker_gogs` and `docker_gogs_dev` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[fig]:http://www.fig.sh/ |
|
|
|
[fig]:http://www.fig.sh/ |
|
|
|