-
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
443b936
commit d0b7fdf
Showing
2 changed files
with
29 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -40,4 +40,4 @@ docker-compose.yaml | |
*.db | ||
public/*.js | ||
!.env.test.local | ||
!docker | ||
!docker/sqlite/docker-compose.yaml |
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,28 @@ | ||
version: "2.1" | ||
services: | ||
bundesliga: | ||
image: lukasdotcom/bundesliga:1 # Change 1 to nightly if you want to be using the bleeding edge and latest if you want the last stable release. Major versions may have trouble between upgrades read the release before upping the major version. | ||
container_name: bundesliga | ||
links: | ||
- db | ||
environment: | ||
- NEXTAUTH_URL=http://localhost # The url of the server | ||
- SQLITE=/mnt/bundesliga.db | ||
- MIN_UPDATE_TIME=120 # Minimum amount of seconds to pass before the data updates on Fri, Sat, and Sun to prevent spamming the api. | ||
- BUNDESLIGA_API= # How to get this value is in the README | ||
# Get your oauth 2.0 details for sign in with google and fill it in below | ||
- GOOGLE_ID=none | ||
- GOOGLE_SECRET=none | ||
- NEXTAUTH_SECRET= # run openssl rand -base64 32 and plug the result into this | ||
- BCRYPT_ROUNDS=9 # The number of rounds the password should be hashed | ||
# Uncomment the MATOMO enviromental variables and fill them out if you want to use matomo analytics | ||
#- NEXT_PUBLIC_MATOMO_URL= | ||
#- NEXT_PUBLIC_MATOMO_SITE_ID= | ||
ports: | ||
- 80:3000 | ||
restart: always | ||
volumes: | ||
- bundesliga:/mnt | ||
volumes: | ||
bundesliga: | ||
external: true |