Skip to content

Commit

Permalink
Docker disable build
Browse files Browse the repository at this point in the history
  • Loading branch information
xtrime-ru committed Jun 13, 2020
1 parent 50a59ae commit 14bd6b6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
21 changes: 13 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,23 @@ Get posts from my [TelegramApiServer](https://github.com/xtrime-ru/TelegramApiSe

1. Install and start [Telegram Api Server](https://github.com/xtrime-ru/TelegramApiServer)
1. Clone this project: `git clone https://github.com/xtrime-ru/TelegramRSS.git TelegramRSS`

Docker:
1. `docker pull xtrime/telegram-rss`
1. `docker-compose up -d`

Manual:
1. [Install Swoole php extension](https://github.com/swoole/swoole-src#%EF%B8%8F-installation)
1. `composer install -o --no-dev`
1. Start:
* Docker:
1. `docker-compose up -d`
* Manual:
1. [Install Swoole php extension](https://github.com/swoole/swoole-src#%EF%B8%8F-installation)
1. `composer install -o --no-dev`
1. `php server.php`

## Setup
1. Edit `.env` or `.env.docker` if needed.
1. Restart RSS server.
* Docker:
1. `docker-compose restart`
* Manual:
1. ctrl + c
1. `php server.php`
1. [Run in background](https://github.com/xtrime-ru/TelegramApiServer#run-in-background)
1. Example of Nginx config
```
Expand Down
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
version: '3'
services:
telegram-rss:
build: ./
image: xtrime/telegram-rss:latest
container_name: telegram-rss
restart: unless-stopped
Expand Down

0 comments on commit 14bd6b6

Please sign in to comment.