Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use docker network instead of links, as links are apparently deprecat…
…ed now.
- Loading branch information
1 parent
65746bc
commit 7931d9a
Showing
2 changed files
with
15 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,22 @@ | ||
version: "3.1" | ||
version: "3" | ||
services: | ||
web: | ||
build: . | ||
command: bin/server | ||
entrypoint: bin/server | ||
environment: | ||
- PORT=80 | ||
- REDIS_URL=redis://redis:6379/3 | ||
env_file: .dockerenv | ||
ports: | ||
- "3000:80" | ||
links: | ||
networks: | ||
- rssbox | ||
depends_on: | ||
- redis | ||
redis: | ||
image: redis | ||
networks: | ||
- rssbox | ||
|
||
networks: | ||
rssbox: |