-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add docker-compose (further simplify docker setup) (#55)
* Add docker-compose.yml Add docker compose to further simplify the setup of the docker project. This eliminates the need to specify the need for defining ports and volumes in the command and moves it to the docker-compose file instead. * Update README.md Add docker-compose command to documentation * Update README.md (docker instructions) Update md formating for docker commands (this enables one-click-copy in the github preview)
- Loading branch information
Showing
2 changed files
with
23 additions
and
3 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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Run this as follows: 'docker compose up' (keep running in terminal session, exist via [STRG] + [C]) | ||
# or 'docker compose up -d' (keep running in background) | ||
version: "3" | ||
services: | ||
synctube: | ||
build: . | ||
#image: synctube | ||
ports: | ||
- "4200:4200" | ||
volumes: | ||
- "${PWD}/user:/usr/src/app/user" |