You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
873 B
YAML

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