Comments (5)
You can use this one I made too.
services:
paste:
image: danielszabo99/microbin
container_name: microbin
restart: always
environment:
- MICROBIN_PRIVATE=true
- MICROBIN_PUBLIC_PATH=https://website.com #remove this if running locally. cant use QR or copy links if not using.
- MICROBIN_EDITABLE=true
- MICROBIN_ENABLE_BURN_AFTER=true
- MICROBIN_QR=true
- MICROBIN_HIGHLIGHTSYNTAX=true
- MICROBIN_TITLE=Microbin
- MICROBIN_HIDE_FOOTER=true
ports:
- "8065:8080"
volumes:
- /docker/microbin:/my/microbin
- /docker/microbin/data:/app/pasta_data #mounting database.json for persistent DB.
You can see more environment variables here.
from microbin.
@ItsNoted you provided the MICROBIN_QR
variable twice, so I would remove the second declaration. And what is the /docker/microbin:/my/microbin
volume for?
from microbin.
This is now available: https://github.com/szabodanika/microbin/blob/664c4495e0259fd9931f80493f821832c0446e1c/compose.yaml
from microbin.
That's not remotely a valid compose file. It doesn't have the correct name, doesn't include the version declaration, and passes all the environment variables into the container from the host... but never defines them.
from microbin.
compose.yaml
is the recommended name for the docker compose file. The same docs page states that version declaration is optional. As for the environment variables, there is a .env file available that you defines these, you have to pass that to the container: docker compose --env-file .env up --detach
from microbin.
Related Issues (20)
- Entering incorrect password when editing resets content/throws away changes
- Copy button doesn't work
- error: failed to run custom build command for `openssl-sys v0.9.93` HOT 1
- auth form is not readable with dark theme
- Allow to rename bins
- Some of the .env variables are missing in docker compose file HOT 1
- Burn After -> First Read gets 2 reads to create content HOT 3
- Can't support multiple file upload, seek support?
- Does MICROBIN_EDITABLE=false do anything? HOT 2
- Authenticate user while still following privacy settings
- Add way to healthcheck the docker image HOT 1
- Crash on create, no HTTP response HOT 6
- Looking forward to adding the function of QR code scanning and sharing HOT 1
- a better CLI way to use microbin HOT 2
- Unicode paste displayed as gibberish in raw text
- Special characters are escaped repeatedly
- MICROBIN_PUBLIC_PATH not working correctly HOT 1
- Still Maintained? HOT 11
- Feature Request: Autorsizing Text-Area and pressing TAB should insert a tab-stop or some spaces
- Uploader-Password not working as expected HOT 10
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 microbin.