documentation (wip) https://docs.dotya.ml
Go to file
surtur 9ec93b4352
All checks were successful
continuous-integration/drone/push Build is passing
ci/compose: add project name using a drone env var
there was an issue where https://git.dotya.ml/dotya.ml/homepage
containers were getting orphaned when this project was deployed.

messages like the following were printed:
Removing orphan container "src_homepage_2"
Removing orphan container "src_homepage_4"
Removing orphan container "src_reverse-proxy_1"
Removing orphan container "src_homepage_3"
Removing orphan container "src_homepage_1"

The author of the accepted answer of a related SO thread links to
docker-compose documentation, explaining how setting a project variable
should resolve this.

the COMPOSE_PROJECT_NAME environment variable is likely the same for
both projects in question here (homepage and docs) as they're both being
deployed by drone from the /drone/src directory, which is also set by
drone as the WORKDIR). basename - here src - is used as the project name
if not specified otherwise.

to conclude, running both [compose deployments] with a unique project
name should fix the issue.

refs:
https://stackoverflow.com/a/59173539
https://docs.docker.com/compose/reference/overview/#use--p-to-specify-a-project-name
https://docs.docker.com/compose/reference/envvars/#compose_project_name

fix #1
2021-07-24 15:36:21 +02:00
archetypes initial commit 2021-03-15 11:42:43 +01:00
assets/scss initial commit 2021-03-15 11:42:43 +01:00
content initial commit 2021-03-15 11:42:43 +01:00
themes initial commit 2021-03-15 11:42:43 +01:00
.drone.yml ci/compose: add project name using a drone env var 2021-07-24 15:36:21 +02:00
.gitignore initial commit 2021-03-15 11:42:43 +01:00
.gitmodules initial commit 2021-03-15 11:42:43 +01:00
config.toml change baseurl to / to support reverse proxies 2021-07-24 14:41:40 +02:00
docker-compose.yml ci: add a deploy step using docker-compose 2021-07-24 15:17:32 +02:00
Dockerfile ci: add a deploy step using docker-compose 2021-07-24 15:17:32 +02:00
LICENSE initial commit 2021-03-15 11:42:43 +01:00
README.md README.md: add build status badge 2021-03-15 11:47:57 +01:00

docs

Build Status

sawce of the dotya.ml's docs site.

Built with Hugo on Book theme.