We will use minimalistic Linux distribution called Alpine (5MB)
FROM alpine:latest
RUN apk --update add redis
-- Create a group | |
CREATE ROLE readaccess; | |
-- Grant access to existing tables | |
GRANT USAGE ON SCHEMA public TO readaccess; | |
GRANT SELECT ON ALL TABLES IN SCHEMA public TO readaccess; | |
-- Grant access to future tables | |
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO readaccess; |
#!/bin/bash | |
if [ $# -eq 0 ]; then | |
echo "Usage: ./pushover <message> [title]" | |
exit | |
fi | |
MESSAGE=$1 | |
TITLE=$2 |
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" alternatively, pass a path where Vundle should install plugins | |
"call vundle#begin('~/some/path/here') | |
" let Vundle manage Vundle, required |
/etc/vconsole.conf | |
KEYMAP="ruwin_ct_sh-UTF-8" | |
LOCALE="ru_RU.UTF-8" | |
CONSOLEMAP= | |
FONT="UniCyr_8x16" | |
USECOLOR="yes" | |
/etc/X11/xorg.conf.d/00-keyboard.conf | |
Section "InputClass" | |
Identifier "system-keyboard" |