Comments (8)
Thank you laem for reporting. I think you will have to modify the Dockerfile by hand.
@Kloadut any idea?
from cozy-docker.
I think about it. But I did'nt found a way to pass parameters to the build command.
And I don't know if it be a good practice.
May be the good way is to have a post installation in the instance to replace the image one.
Another way (or thing to do) is to remove the CN from certificate.
from cozy-docker.
OK. That's how I've fixed it meanwhile without running the dockerfile again. Not ideal, but it works.
sudo docker exec -i -t RUNNING_DOCKER_NAME bash
sudo openssl req -x509 -nodes -newkey rsa:2048 -keyout /etc/cozy/server.key -out /etc/cozy/server.crt -days 365 -subj '/CN=DOMAIN_NAME'
from cozy-docker.
@laem This is the right way to do it for now.
I will integrate a small configuration to the docker repository, so that one can choose his certificate, or at least his domain name.
from cozy-docker.
Done as of 8dbf892
Now the security tokens are generated at the container initialization.
from cozy-docker.
Indeed they are, but they still default to localhost. Is it expected ?
from cozy-docker.
It is expected, you can set your domain name by launching your newly created cozy container with the option -e DOMAIN=mydomain.org
from cozy-docker.
cool, thanks a lot, I'll update the wiki.
from cozy-docker.
Related Issues (20)
- Outside mail server HOT 4
- Unable to connect to http://localhost on Archlinux HOT 5
- Postfix issues HOT 4
- Can't access git url HOT 6
- exit status 1 HOT 1
- Docker Compose HOT 1
- Data lost on restart HOT 6
- Error during startup HOT 1
- Building fails with "Container command '/bin/sh' not found or does not exist" HOT 1
- Let's Encrypt support
- Couch DB exit with error with default configuration HOT 1
- error - Install failed for data-system. HOT 15
- cozy-init entered FATAL state HOT 1
- Possible RPI 3 Image?
- login screen redirects to 443 by default HOT 4
- Smaller docker images HOT 12
- Postfix dead
- login issue HOT 8
- Image build failed HOT 3
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 cozy-docker.