Skip to content

Instantly share code, notes, and snippets.

View alexvuta's full-sized avatar
🏠
Working from home

Alexandru VUTA alexvuta

🏠
Working from home
View GitHub Profile
@alexvuta
alexvuta / docker-compose.yml
Created July 22, 2019 21:16 — forked from barnybug/docker-compose.yml
Docker compose for a Docker-in-docker gitlab runners setup
# Docker-in-Docker Gitlab runners setup taken from:
# https://medium.com/@tonywooster/docker-in-docker-in-gitlab-runners-220caeb708ca
dind:
restart: always
privileged: true
volumes:
- /var/lib/docker
image: docker:17.09.0-ce-dind
command:
- --storage-driver=overlay2
@alexvuta
alexvuta / docker exec
Last active July 22, 2019 21:28
Docker compose shared network
docker run -e WORDPRESS_DB_HOST=127.0.0.1:3306 -e WORDPRESS_DB_USER=root -e WORDPRESS_DB_PASSWORD=password --network specific-network-name -P wordpress
https://github.com/ridi/gitlab-dind-runner
https://blog.heavycookie.co/posts/gitlab-ci-docker-compose/
@alexvuta
alexvuta / Compile PROFTPD on AWS EC2 AMI Linux.MD
Last active April 17, 2021 02:32
Compile PROFTPD on AWS EC2 AMI Linux

Compile PROFTPD on AWS EC2 AMI Linux

Here is a guide to compile PROFTP on a EC2 instance running AMI LINUX;

Environment:

  • AWS EC2 T2micro (1GB RAM, 1VCPU)
  • Operating System:
Amazon Linux 2
CPE OS Name: cpe:2.3:o:amazon:amazon_linux:2
@alexvuta
alexvuta / 0_reuse_code.js
Created September 4, 2017 20:22
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console