mirror of
https://gitlab.com/little-lines/backend.git
synced 2024-11-24 04:06:52 +00:00
Update env and container examples
This commit is contained in:
parent
f413d01bd9
commit
e047f21204
2 changed files with 14 additions and 1 deletions
13
.env.example
Normal file
13
.env.example
Normal 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=
|
|
@ -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
|
Loading…
Reference in a new issue