Update env and container examples

This commit is contained in:
Late Night Defender 2024-06-03 16:15:17 +07:00
parent f413d01bd9
commit e047f21204
2 changed files with 14 additions and 1 deletions

13
.env.example Normal file
View file

@ -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=

View file

@ -5,7 +5,7 @@ Description=Little Lines backend container
ContainerName=little-lines-backend ContainerName=little-lines-backend
Image=localhost/little-lines-backend Image=localhost/little-lines-backend
PublishPort=5001:5001 PublishPort=5001:5001
Volume= /media/sasha/Data1/Apps/ll-backend/.env:/opt/ll-backend/.env Volume= /path/to/env:/opt/ll-backend/.env
[Service] [Service]
Restart=always Restart=always