This repository has been archived by the owner on Sep 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f78c12d
commit 7beaa7c
Showing
10 changed files
with
76 additions
and
144 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
__pycache__/ | ||
*.py[cod] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
.idea/copyright/Standard.xml → .idea/copyright/JukeBox_Copyright.xml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,47 @@ | ||
version: '3.8' | ||
|
||
services: | ||
webapp: | ||
container_name: jukebox-webapp | ||
build: | ||
context: . | ||
command: ["uvicorn", "jukebox.main:app", "--host", "0.0.0.0", "--port", "8000"] | ||
environment: | ||
DATABASE_URL: postgres://postgres:admin123@database:5432/jukebox | ||
volumes: | ||
- ./jukebox:/opt/jukebox | ||
ports: | ||
- "8000:8000" | ||
depends_on: | ||
- migrate | ||
- database | ||
links: | ||
- database | ||
restart: always | ||
|
||
database: | ||
container_name: jukebox-database | ||
image: postgres | ||
environment: | ||
POSTGRES_PASSWORD: admin123 | ||
POSTGRES_DB: jukebox | ||
volumes: | ||
- pg_data:/var/lib/postgresql/data | ||
restart: always | ||
|
||
migrate: | ||
container_name: jukebox-migrate | ||
build: | ||
context: . | ||
command: ["python3", "jukebox/database/migrations.py"] | ||
environment: | ||
DATABASE_URL: postgres://postgres:admin123@database:5432/jukebox | ||
volumes: | ||
- ./jukebox:/opt/jukebox | ||
depends_on: | ||
- database | ||
links: | ||
- database | ||
|
||
volumes: | ||
pg_data: |
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,3 +1,7 @@ | ||
# Copyright (c) 2023 JukeBox Developers - All Rights Reserved | ||
# This file is part of the JukeBox Music App and is released under the "MIT License Agreement" | ||
# Please see the LICENSE file that should have been included as part of this package | ||
# Please see the LICENSE file that should have been included as part of this package | ||
|
||
Copyright (c) $originalComment.match("Copyright \(c\) (\d+)", 1, "-", "$today.year")$today.year JukeBox Developers - All Rights Reserved | ||
This file is part of the JukeBox Music App and is released under the "MIT License Agreement" | ||
Please see the LICENSE file that should have been included as part of this package |