Skip to content

Instantly share code, notes, and snippets.

@sriperinkulam
sriperinkulam / wordpress.yml
Created Mar 11, 2021
Wordpress Traefik fronted
View wordpress.yml
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
View traefik-ssl.yml
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
Docker compose file for installing core php based apps - Selfoss in this case
View selfoss.yml
# 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
Docker compose file for the Trilium notes app
View trilium.yml
# 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 Apr 28, 2020
Docker Image build for a php Image based on the vanilla apache buster image
View php:7.4.3-apache-buster dockerfile
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
View known.yml
# 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