Comments (5)
@nmaro — i think it's a really interesting topic.. bear with me as i'm not highly experienced with docker but i think i grasp the principal — here's some of my thinking about it
-
i believe we could create an
ooth-standalone
base docker image -
devs could then make their own
my-ooth-app
docker image, which extends theooth-standalone
base image -
my-ooth-app
can then copy in various configurations and pluginsCOPY ooth-config.json /ooth/ # copy in project ooth config COPY ooth-plugins/ /ooth/ooth-plugins/ # copy in project ooth plugins CMD ["ooth-standalone"] # start running the ooth app
-
i'm imagining that there'd be a standard ooth-standalone docker-compose file which lays out the other containers which are networked together with the ooth-standalone container, such as a mongodb container for the database, etc
- i'm guessing the dev would copy this docker-compose file and modify it, to use
my-ooth-app
as the docker image in place ofooth-standalone
— then they are free to replace other images like the one formongodb
or add other ones that work with their plugins, etc
- i'm guessing the dev would copy this docker-compose file and modify it, to use
for those who are not using docker
ooth-standalone
could also be distributed as an npm package which acts as a cli tool, allowing the user to pass a config file and plugins directoryooth-standalone --config="ooth-config.json" --plugins="ooth-plugins/"
from ooth.
Hey @chase-moskal I finally pushed dockerized examples:
https://github.com/nmaro/ooth/tree/master/examples/standalone
https://github.com/nmaro/ooth/tree/master/examples/integrated
For now there are no published standard images (the builds are all local), but it's a start. To a certain degree it could be argued that a standard ooth
image is not needed because it's basically just about importing the library and configuring it.
If you have ideas for where to go from there create a new issue, since this is about next.js.
from ooth.
of course, it would be ideal if an ooth standalone was dockerized, obviously related to pr #26
from ooth.
Hey @chase-moskal I think the most complex part of this (and the main reason why I haven't implemented this) is configuration. How do you configure your own version of ooth with your own plugins with their own configs, but pack it in a standardized docker image? I don't really know a good strategy to do this.
from ooth.
reading up on #26 some more, i'm seeing that the conversation about mounting the config directory is probably a more proper way to bring configuration into the ooth-standalone
image — i think users will be able to simply mount the config directory, which can include plugins
it's kind of looking like #26 is great, and does most of what we're talking about already
from ooth.
Related Issues (20)
- This is not defined. It's defined above in another scope. I can do a pull request if you want me to... HOT 1
- Typescript HOT 3
- ooth-local-emailer url parameter HOT 1
- local-plugin: remember me HOT 3
- TypeError: Ooth is not a constructor HOT 4
- Accessing users' roles through withUser HOC HOT 1
- how to get ooth integrated and deployed in a kubernetes cluster? HOT 6
- prisma backend? HOT 2
- [Backend] Prisma Integration as alternative to mongodb HOT 10
- Passworless login using Twillio HOT 1
- Enhance ooth Documentation
- React Native error "Can’t Find Variable Self" when import { OothClient } from 'ooth-client' HOT 1
- Capcha strategy
- TypeError: ooth.usesSession is not a function
- User serialization / deserialization
- Profile on registration HOT 1
- Ooth Client headers
- oothJwt and reset password
- Is this project still maintained? HOT 1
- Wildcard Sessions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ooth.