Skip to content

Instantly share code, notes, and snippets.

View sriperinkulam's full-sized avatar

Srikanth Perinkulam sriperinkulam

View GitHub Profile
@sriperinkulam
sriperinkulam / wordpress.yml
Created March 11, 2021 23:52
Wordpress Traefik fronted
version: '3.7'
services:
nginx:
image: ethibox/nginx-proxy:latest
command:
- /bin/sh
- -c
- |
sed -i -e 's/app:9000/'$$STACK_NAME'_app:9000/g' /etc/nginx/nginx.conf
version: "3.7"
services:
traefik:
image: traefik:${VERSION:-v1.7.24-alpine}
ports:
- { target: 80, published: 80, mode: host, protocol: tcp }
- { target: 443, published: 443, mode: host, protocol: tcp }
command:
# - --debug
@sriperinkulam
sriperinkulam / selfoss.yml
Created May 10, 2020 08:43
Docker compose file for installing core php based apps - Selfoss in this case
# Assumptions:
# -> Traefik container is already up and running along with the corresponding network
# After container setup:
# -> Download package from [selfoss](https://selfoss.aditu.de/) and copy over to the app folder
# -> follows install steps mentioned on the installation wiki
version: '3.7'
services:
@sriperinkulam
sriperinkulam / trilium.yml
Created May 7, 2020 08:46
Docker compose file for the Trilium notes app
# Assumptions:
# Traefik container is already up and running along with the corresponding network
version: '3.7'
services:
web:
image: zadam/trilium:0.42.1
volumes:
- ${VOLUME_PATH}trilium-data:/root/trilium-data
deploy:
@sriperinkulam
sriperinkulam / php:7.4.3-apache-buster dockerfile
Created April 28, 2020 07:14
Docker Image build for a php Image based on the vanilla apache buster image
FROM php:7.4.3-apache-buster
RUN docker-php-source extract \
&& apt-get update \
&& apt-get install libldap2-dev libxml2-dev nano -y \
libapache2-mod-security2 \
libxslt-dev \
libicu-dev \
libpq-dev
# Install Composer
# Assumptions:
# Traefik container is already up and running along with the corresponding network
# See https://srikanthperinkulam.com/2020/04/19/self-hosting-jitsi-video-conferencing/ for more details
version: '3.7'
services:
mariadb:
image: mariadb:10.3.14