Skip to content

Instantly share code, notes, and snippets.

@Wicowyn
Created June 13, 2017 09:03
Show Gist options
  • Save Wicowyn/e5ac6395ada0f09f3b90430bfb602308 to your computer and use it in GitHub Desktop.
Save Wicowyn/e5ac6395ada0f09f3b90430bfb602308 to your computer and use it in GitHub Desktop.
Rss
version: '2'
services:
db:
image: mariadb:latest
restart: unless-stopped
container_name: ttrss_db
mem_limit: 512m
volumes:
- ./database:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: rss
MYSQL_USER: rss
MYSQL_PASSWORD: rssPasswd
web:
depends_on:
- db
image: clue/ttrss:latest
restart: unless-stopped
container_name: ttrss_web
mem_limit: 256m
ports:
- "127.0.0.1:8082:80"
links:
- db
environment:
DB_HOST: db
DB_TYPE: mysql
DB_PORT: 3306
DB_USER: rss
DB_NAME: rss
DB_PASS: rssPasswd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment