Comments (6)
Can you paste your docker.yml file to check out?
If you need to use another port, select something random like 8183 or whatever.
Are you hosting this in the cloud, or locally?
from docker.
I uploaded it as text. I already have also uploaded .env since I'm using a DB local to the machine.
I'm running this (or attempting to) on my local machine. But because I have 4-5 other docker instances running + calibre (which insists on using 8080 as the port) I need a different port. I picked 7500 and 7501 at random.
I should mention that at one point I did get the simple system working using http:// and it connected to the DB, but Firefox wouldn't allow normal http access, but I could see the registration page with lynx (cmdline web browser).
from docker.
Well, it looks like you are running a far more complex setup here than the average person.
Is there any reason you need a proxy, and to be pushing all these certs, and a queue, and redis? Like, this should really just be 2 containers and off you go. You can try to look at the various log files for each of these containers and see if there's any clues, but really - the YML seems relatively fine without combing through it extensively.
For reference, here's my docker-compose. It's really all you need.....
version: "3.4"
services:
app:
image: monica
depends_on:
- db
ports:
- 8156:80
environment:
- APP_KEY=t1YmI32wWPnZz9z8Dj8k20NFaDHG7kyh
- DB_HOST=db
- DB_USERNAME=monica
- DB_PASSWORD=249e%66igjRe@pMY
volumes:
- /volume1/docker/monica/html:/var/www/html/storage
restart: always
db:
image: mysql:5.7
environment:
- MYSQL_RANDOM_ROOT_PASSWORD=R!d&dW%k!9sT9Gwe
- MYSQL_DATABASE=monica
- MYSQL_USER=monica
- MYSQL_PASSWORD=249e%66igjRe@pMY
volumes:
- /volume1/docker/monica/mysql:/var/lib/mysql
restart: always
volumes:
data:
name: data
mysql:
name: mysql
Like, you can copy and paste what I have there, and you'd be running on port 8156. Granted, those passwords have been modified from what they actually are. I would suggest when you attach code, you scrub it for your passwords and login names. One of your files reveals some information I don't think you would generally want anyone to see. Please consider taking it down or maybe modifying your attachments ;)
Anyways, try my docker compose file. Just toss that into a new stack with Portainer and you'll be up. If you need certs or whatever, you should be able to create those in whatever containers handle the certs and your reverse proxy.
from docker.
I tried your docker-compose.yml unchanged and it gives me the same issue I had with the simple example (amd most of the others). Firefox will not play with it.
Secure Connection Failed
An error occurred during a connection to localhost:8156. SSL received a record that exceeded the maximum permissible length.
Error code: SSL_ERROR_RX_RECORD_TOO_LONG
The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
Please contact the website owners to inform them of this problem.
This is the reason I went down the whole SSL rabbit hole in the first place. sigh
from docker.
You shouldn't be getting any SSL issues as you're not using SSL in any way here. I can only think you're making this way more complicated than it needs to be, or you're doing something that you're not mentioning here.
You're installing this on a local box, right? Let's for example say your device that holds your docker instance is 192.168.1.50.
Once the container has been deployed, use your browser and go to http://192.168.1.50:8156
It sounds like you've got something installed on the host machine that's trying to intercept traffic or you've got some funky SSL stuff happening when none of that should be touching your connection.
EDIT - I see you're doing this on your LOCAL machine?! OK. It should literally just be http://localhost:8156 once the container has been deployed. If that doesn't work, you've clearly got something installed that is intercepting traffic or doing some sort of funky redirects.
from docker.
It seems the problem was with trying to use localhost. When I used the IP address it worked. Thanks!
from docker.
Related Issues (20)
- Application does not use S3 storage defined through compose environment HOT 1
- Unable to use Docker Host HOT 2
- Correct way to update with Docker Compose?
- Accidentially deleted Monica Container, how to re-connect to existing Mysql Container? HOT 1
- APP_KEY and Docker secrets error: Unsupported cipher or incorrect key length HOT 1
- Docker MySQL container updated and Monica data is gone. HOT 2
- Database keeps crashing HOT 8
- Need relative links, as opposed to absolute. HOT 1
- 2016_09_10_164406_create_jobs_table FAIL on the first start HOT 1
- Issue with documentation! HOT 2
- monica:latest not rebuilt
- Forced https HOT 2
- Image won't start on RPi due to platform and exec format error
- Is there a Docker image of the beta version of Monica? HOT 5
- stored XSS in "http://<APP-IP>/people/<ID>/avatar" HOT 1
- Lost APP_KEY HOT 5
- Latest versions (4.1.x) on docker hub HOT 2
- Sudden problem with filesystem permissions - chmod -R fails
- Feature request: Add support for SQLite
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 docker.