Skip to content

Instantly share code, notes, and snippets.

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

Eugenio Carocci eugcar

🏠
Working from home
View GitHub Profile
@eugcar
eugcar / bitbucket-pipelines.yml
Last active February 21, 2020 08:06
Bitbucket pipelines configuration file
image: atlassian/default-image:2
pipelines:
branches:
master:
- step:
name: Build and test with docker-compose
services:
- docker
caches:
- docker
@eugcar
eugcar / docker-compose.yml
Created November 27, 2019 15:53
Docker Compose architecture with Traefik
version: "3.7"
# --------- #
# Services #
# --------- #
services:
########
# BASE #
########
base:
build:
@eugcar
eugcar / docker-compose.yml
Last active April 29, 2019 13:02
docker-compose.yml
version: "3.7"
###########################
# S E R V I C E S #
###########################
services:
###########
# PHP-FPM #
###########
php-fpm:
build:
@eugcar
eugcar / Dockerfile
Created April 14, 2019 18:08
Base Centos Dockerfile
FROM centos:7.6.1810
LABEL maintainer="eugenio.c@elearnsecurity.com"
# Refer to: https://hub.docker.com/_/centos - Minor Tags section
RUN yum -y update && \
yum clean all
RUN yum install policycoreutils-python -y && \
yum install epel-release -y && \
@eugcar
eugcar / Dockerfile
Created April 14, 2019 18:07
Php-Fpm Dockerfile
FROM elsecarocci/base
LABEL maintainer="eugenio.c@elearnsecurity.com"
# Arguments
ARG host_user
ARG host_group
# Enable remi repository for PHP7.1
# Refer to: https://www.colinodell.com/blog/201612/installing-php-71
@eugcar
eugcar / Dockerfile
Created April 14, 2019 18:06
Apache-Dockerfile
FROM elsecarocci/base
# Arguments
ARG host_user
ARG host_group
LABEL maintainer="eugenio.c@elearnsecurity.com"
# Install Apache2
RUN yum update -y && \
@eugcar
eugcar / .env
Last active April 29, 2019 13:02
.env
###############################
# Composer specific variables #
###############################
COMPOSE_PROJECT_NAME=symfony-docker
###########################
# User specific variables #
###########################
HOST_USER=1000
HOST_GROUP=1000