dopos/dcape
Docker-compose application environment
Dcape is a tool which helps to create environments for docker-applications deployment using GitOps technology. Dcape based on make and docker-compose and intended to solve the following tasks:
- using
make up
run applications which needs- shared port (ex. 80)
- database
- using
git push
deploy applications remotely on single or several computers - manage app configs through API or web-interface
- limit via given user group access to used applications interfaces
- support for letsencrypt wildcard-domains
- manage docker objects
Applications
For solving of above-mentioned tasks dcape uses docker-images of the following applications:
- shared port - traefik
- database - postgresql
- deploy applications remotely - drone (on every computer) and gitea on someone
- manage app configs - enfist
- limit access - narra, gitea organization used as user group
- wildcard-domains - powerdns
- manage docker objects - portainer
Documentation
Dependensies
Usage examples
Deploy app local
Requirements:
- linux computer with docker and dcape
- hostnames registered in /etc/hosts or internal DNS (for example -
mysite.dev.test
,www.mysite.dev.test
) pointing to this computer
Static site with nginx
|
|
That’s all - http://mysite.dev.test/
and http://www.mysite.dev.test/
are working.
Install dcape without gitea
Requirements:
- linux computer with docker and dependensies installed
- DNS records for wildcard-domain
*.srv1.domain.tld
- Gitea
$AUTH_TOKEN
created
|
|
That’s all - server srv1.domain.tld
ready for apps deployment, used dcape applications are accessible via https://srv1.domain.tld
.