diff --git a/commit.sh b/commit.sh index 9b5430a..5a42721 100755 --- a/commit.sh +++ b/commit.sh @@ -11,7 +11,8 @@ git stash # pull latest version git pull -git submodule update +git submodule init +git submodule update --recursive --remote # restart/rebuild all containers docker compose build --no-cache diff --git a/compose.yml b/compose.yml index f0f73d2..0c88004 100644 --- a/compose.yml +++ b/compose.yml @@ -11,7 +11,6 @@ services: source: ./data/pds target: /pds env_file: - # - ./pds/data/pds.env - ./data/pds/pds.env knot: diff --git a/data/piper/piper.env.template b/data/piper/piper.env.template index 504e5c6..fc7cab7 100644 --- a/data/piper/piper.env.template +++ b/data/piper/piper.env.template @@ -1,8 +1,8 @@ # Server configuration SERVER_PORT=8080 -SERVER_HOST=localhost +SERVER_HOST=0.0.0.0 -SERVER_ROOT_URL= +SERVER_ROOT_URL=https://piper.vielle.dev/ # Spotify OAuth configuration SPOTIFY_CLIENT_ID= @@ -13,18 +13,20 @@ SPOTIFY_SCOPES=user-read-currently-playing user-read-email # ATProto OAuth configuration # link to metadata url -ATPROTO_CLIENT_ID= -ATPROTO_METADATA_URL= -ATPROTO_CALLBACK_URL= +ATPROTO_CLIENT_ID=https://piper.vielle.dev/.well-known/client-metadata.json +ATPROTO_METADATA_URL=https://piper.vielle.dev/.well-known/client-metadata.json +ATPROTO_CALLBACK_URL=https://piper.vielle.dev/callback/atproto +ATPROTO_CLIENT_SECRET_KEY={goat key generate -t P-256} +ATPROTO_CLIENT_SECRET_KEY_ID={can be whatever usually a timestamp} # Last.fm LASTFM_API_KEY= # Callback URLs -CALLBACK_SPOTIFY= +CALLBACK_SPOTIFY=http://piper.localhost/callback/spotify # Tracker settings TRACKER_INTERVAL=30 # Database settings -DB_PATH=./piper.db \ No newline at end of file +DB_PATH=/db/piper.db \ No newline at end of file