Skip to content

Instantly share code, notes, and snippets.

View Kishinskiy's full-sized avatar

Kishinsky Oleg Kishinskiy

View GitHub Profile
@Kishinskiy
Kishinskiy / nginx_deployment.yaml
Created June 22, 2022 20:15 — forked from petitviolet/nginx_deployment.yaml
sample Nginx configuration on Kubernetes using ConfigMap to configure nginx.
apiVersion: v1
kind: ConfigMap
metadata:
name: nginx-conf
data:
nginx.conf: |
user nginx;
worker_processes 3;
error_log /var/log/nginx/error.log;
events {
# This is the configuration file for DOSBox DOSBox-X. (Please use the latest version of DOSBox)
# Lines starting with a # are comment lines and are ignored by DOSBox.
# They are used to (briefly) document the effect of each option.
# To write out ALL options, use command 'config -all' with -wc or -writeconf options.
[log]
# logfile: file where the log messages will be saved to
# vga: Enable/Disable logging of this type.
# Possible values: true, false, debug, normal, warn, error, fatal, never.
# vgagfx: Enable/Disable logging of this type.
@Kishinskiy
Kishinskiy / README.md
Created May 28, 2020 09:38 — forked from mosquito/README.md
Add doker-compose as a systemd unit

Docker compose as a systemd unit

Create file /etc/systemd/system/[email protected]. SystemD calling binaries using an absolute path. In my case is prefixed by /usr/local/bin, you should use paths specific for your environment.

[Unit]
Description=%i service with docker compose
Requires=docker.service
After=docker.service
@Kishinskiy
Kishinskiy / Dockerfile-apache
Created November 29, 2017 13:01 — forked from EvgenyOrekhov/Docker Compose files for PHP development.md
Simple Docker Compose files for PHP development
FROM php:apache
RUN apt-get update \
&& apt-get install -y --no-install-recommends libpq-dev \
&& docker-php-ext-install pdo_pgsql pdo_mysql