chore: 🔧 add prod Docker compose with sample config
parent
22759759fb
commit
62f918f33a
@ -0,0 +1,8 @@
|
|||||||
|
spotify:
|
||||||
|
clientId: <SPOTIFY_CLIENT_ID>
|
||||||
|
clientSecret: <SPOTIFY_CLIENT_SECRET>
|
||||||
|
server:
|
||||||
|
sessionKey: <RANDOM_STRING_VALUE>
|
||||||
|
# set these values if server is accessed via a domain
|
||||||
|
# scheme: https
|
||||||
|
# host: listy.example.com
|
@ -0,0 +1,29 @@
|
|||||||
|
version: "3.1"
|
||||||
|
|
||||||
|
services:
|
||||||
|
mongo:
|
||||||
|
image: mongo
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
MONGO_INITDB_ROOT_USERNAME: ${MONGO_USERNAME:-listy}
|
||||||
|
MONGO_INITDB_ROOT_PASSWORD: ${MONGO_PASSWORD:-listypass123}
|
||||||
|
ports:
|
||||||
|
- 27017:27017
|
||||||
|
volumes:
|
||||||
|
- ./.mongo:/data/db
|
||||||
|
listy:
|
||||||
|
image: gitea.ravianand.me/Dan6erbond/listy
|
||||||
|
command: ["/listy", "server", "run"]
|
||||||
|
environment:
|
||||||
|
MONGODB_URI: mongodb://${MONGO_USERNAME:-listy}:${MONGO_PASSWORD:-listypass123}@mongodb:27017
|
||||||
|
volumes:
|
||||||
|
- config.example.yml:/etc/listy/config.yml
|
||||||
|
ports:
|
||||||
|
- 5001:5001
|
||||||
|
listy-sync:
|
||||||
|
image: gitea.ravianand.me/Dan6erbond/listy
|
||||||
|
command: ["/listy", "sync", "-r", "5m"]
|
||||||
|
environment:
|
||||||
|
MONGODB_URI: mongodb://${MONGO_USERNAME:-listy}:${MONGO_PASSWORD:-listypass123}@mongodb:27017
|
||||||
|
volumes:
|
||||||
|
- config.example.yml:/etc/listy/config.yml
|
Loading…
Reference in New Issue