Vitor Mattos
CTO da LibreCode, empreendedor, sempre buscando novos desafios e conhecimentos. Grande incentivador do software livre, evangelista PHP, palestrante em eventos regionais e nacionais.
Realizador de sonhos desde 2003
Amante de opensource
Palestrante
PHP Zend Certified Engineer ( ZEND024235 )
PHPRio ( https://t.me/phprio )
CTO LibreCode coop (https://t.me/LibreCodeCoop)
Redes sociais: ( VitorMattos ou VitorMattosRJ )
coperativa de TI
Possibilidade de uso de diferentes versões de tudo no mesmo computador/servidor
Simplicidade
Documentação
https://github.com/librecodecoop
finds bugs in your shell scripts.
Dependabot
Dependabot
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "docker"
directory: "/.docker/"
schedule:
interval: "daily"
Repositório de imagens
Quick deploy
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
push: true
tags: user/app:latest
services:
nextcloud:
image: ghcr.io/librecodecoop/nextcloud-dev-php${PHP_VERSION:-82}:latest
`-- projects
|-- akaunting
|-- archive
|-- duplicati
|-- mysql
|-- nextcloud-docker
|-- nginx-proxy
|-- onlyoffice
|-- postgres
|-- producao-cooperativista
|-- redis
`-- site
Exemplo
Let's Encrypt
networks:
mysql:
external: true
name: mysql
reverse-proxy:
external: true
name: reverse-proxy
services:
mysql:
build: ./.docker/mysql
volumes:
#- ./.docker/mysql/conf:/etc/mysql/conf.d
- ./.docker/volumes/mysql/dump:/docker-entrypoint-initdb.d
- ./.docker/volumes/mysql/data:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD
networks:
- mysql
restart: always
networks:
reverse-proxy:
external: true
name: reverse-proxy
services:
duplicati:
image: duplicati/duplicati
container_name: duplicati
restart: always
volumes:
- ./volumes/duplicati-data:/data
- /root/projects:/projects
environment:
- VIRTUAL_HOST
- LETSENCRYPT_HOST
- LETSENCRYPT_EMAIL
- VIRTUAL_PORT=8200
Use Linux
Use Linux
Compartilhe seu conhecimento
@LibreCodeCoop
By Vitor Mattos
Using Docker containers for development and production, know the benefits and importance of Docker in the development process, about agility, reproducibility, and the use of different versions for an efficient development environment.
CTO da LibreCode, empreendedor, sempre buscando novos desafios e conhecimentos. Grande incentivador do software livre, evangelista PHP, palestrante em eventos regionais e nacionais.