diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..b2f66b6 --- /dev/null +++ b/.env.example @@ -0,0 +1,13 @@ +# Port to listen to +PORT=5001 + +# MongoDB connection string +CONNECTION_STRING=mongodb:// + +# Generate with "openssl rand -hex 32" +JWT_SECRET= +JWT_EXPIRES_TIME=7d + +# OAuth 2.0 Client ID and secret. Create one at Google Cloud Console > APIs & Services > Credentials +CLIENT_ID= +CLIENT_SECRET= diff --git a/little-lines-backend.container b/little-lines-backend.container.example similarity index 77% rename from little-lines-backend.container rename to little-lines-backend.container.example index 6bd60c4..0b88c58 100644 --- a/little-lines-backend.container +++ b/little-lines-backend.container.example @@ -5,7 +5,7 @@ Description=Little Lines backend container ContainerName=little-lines-backend Image=localhost/little-lines-backend PublishPort=5001:5001 -Volume= /media/sasha/Data1/Apps/ll-backend/.env:/opt/ll-backend/.env +Volume= /path/to/env:/opt/ll-backend/.env [Service] Restart=always