Translation for: English.
Quickstart of a Continuous Delivery service (Drone CI) with Gitea and Traefik(v2. *), using Docker Compose and Swarm.
docker image ls && docker network ls && docker volume ls && docker container ls;
docker-compose --file ./docker-compose.yml config;
docker-compose --file ./docker-compose.yml build --parallel;
docker-compose --file ./docker-compose.yml up --detach;
docker-compose --file ./docker-compose.yml ps;
docker exec <"OBTENHA O ID DO COMANDO ANTERIOR"> traefik version;
docker exec <"ID DE UM DETERMINADO CONTÊINER"> cat /var/log/traefik/traefik.log;
docker exec <"ID DE UM DETERMINADO CONTÊINER"> ls /var/log/postgresql
docker exec 823 ls /var/log/postgresql
docker exec gitea_server gitea version docker exec gitea_server gitea --version
docker exec gitea_server gitea admin auth list
docker exec gitea_server gitea doctor
docker exec <"ID DE UM DETERMINADO CONTÊINER"> /var/lib/gitea admin auth list
docker exec 5e gitea auth list
docker exec -it 5e "bash"
curl -H Host:whoami.docker.localhost https://127.0.0.1 --insecure;
docker-compose --file ./docker-compose.yml down; docker-compose --file ./docker-compose.yml rm -f;
Esse comando remove todos os contêineres parados, redes não utilizadas, imagens pendentes e caches de compilação...
docker system prune -a;
docker stop
docker container stop docker container prune docker volume prune docker image prune docker network prune
e8dff3df-218c-40a2-9022-a1ba67ab3269
https://community.containo.us/t/routing-ssh-traffic-with-traefik-v2/717/12
https://developer.okta.com/blog/2017/10/11/developers-guide-to-docker-part-3
https://blog.anoff.io/2019-03-24-self-hosted-gitea-drone/
https://github.com/hamdouni/gitea-drone/blob/master/docker-compose.yml https://www.reddit.com/r/docker/comments/cv689q/connection_refused_when_cloning_from_gitea_in_the/
https://blog.anoff.io/2019-03-24-self-hosted-gitea-drone/
https://www.optimadata.nl/blogs/3/nlm8ci-how-to-run-postgres-on-docker-part-3
https://www.depesz.com/2011/05/06/understanding-postgresql-conf-log/
https://www.reddit.com/r/Traefik/comments/dk1rsj/trying_to_configure_traefic_as_proxy_to_gitea_but/
https://www.pgadmin.org/docs/pgadmin4/latest/container_deployment.html#traefik
-
Docker - Official Site, Docker Documentation. Docker overview
Acessado: Dezembro de 2019
Disponível: https://docs.docker.com/engine/docker-overview/ -
Docker Compose - Official Site, Docker Compose Documentation. Docker Compose File
Acessado: Dezembro de 2019
Disponível: https://docs.docker.com/compose/compose-file/ -
Traefik - Official Site, Traefik Documentation. Configuration Introduction - How the Magic Happens
Acessado: Dezembro de 2019
Disponível: https://docs.traefik.io/getting-started/configuration-overview/