Skip to content

Instantly share code, notes, and snippets.

View paolomolo's full-sized avatar
🦄

Paolo paolomolo

🦄
View GitHub Profile
@paolomolo
paolomolo / auto-deploying.md
Created May 25, 2020 09:26 — forked from nickbclifford/auto-deploying.md
How to automatically deploy code to a server using Travis CI

Auto-Deploying via Travis CI

Because Travis CI can automatically execute scripts after successfully (or unsuccessfully!) executing tests, it is an obvious choice for a deployment tool. In order to deploy to a Git repository on a remote server, the process generally is as follows:

  • Set up SSH keys
  • Add the server's copy of the repository as a Git remote
  • Push to the remote
  • SSH into the server and execute any installation/compilation/miscellaneous commands

Before even touching .travis.yml...

Users

@paolomolo
paolomolo / docker-compose.yml
Last active April 19, 2020 09:41
Docker compose file for Nextcloud w/ MariaDB - use with nginx-proxy
version: '3.3'
services:
nextcloud-db:
container_name: nextcloud-db
command: --transaction-isolation=READ-COMMITTED --log-bin=ROW
restart: always
image: mariadb
environment: