Comments (8)
Yes, that did the trick and I wrongly assumed that was the default behaviour.
Thanks a lot.
from community-edition.
Could you try a "docker ps" to list all running containers to check if there's one already running on port 80
from community-edition.
It looks like there is no other container claiming this port. Actually, none before, and after running the docker-compose command, only the db and mail containers from plausible itself.
I'm using docker Docker version 18.09.1, build 4c52b90
if that matters.
olivier@nausicaa:~/work/hosting$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
olivier@nausicaa:~/work/hosting$ docker-compose up --detach
Creating hosting_plausible_events_db_1 ... done
Creating hosting_mail_1 ... done
Creating hosting_plausible_db_1 ... done
Recreating 08bc5c668828_hosting_plausible_1 ... error
ERROR: for 08bc5c668828_hosting_plausible_1 Cannot start service plausible: driver failed programming external connectivity on endpoint hosting_plausible_1 (d414e0f9b123cde5b10a4cf62ae0ef69b703aca2faa8236783ce1eeffa89867d): Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use
ERROR: for plausible Cannot start service plausible: driver failed programming external connectivity on endpoint hosting_plausible_1 (d414e0f9b123cde5b10a4cf62ae0ef69b703aca2faa8236783ce1eeffa89867d): Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use
ERROR: Encountered errors while bringing up the project.
olivier@nausicaa:~/work/hosting$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
47671f54c99d bytemark/smtp "docker-entrypoint.sā¦" 12 seconds ago Up 7 seconds 25/tcp hosting_mail_1
751d0462d5c7 postgres:12 "docker-entrypoint.sā¦" 12 seconds ago Up 7 seconds 5432/tcp hosting_plausible_db_1
from community-edition.
Could you try something like : sudo lsof -i -P -n | grep 80
Should list all services using port "80"
from community-edition.
I do have apache running on my host on port 80 (intended to be configured as reverse proxy in a later step)
olivier@nausicaa:~/work/hosting$ sudo lsof -i :80
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
...
apache2 2307 root 4u IPv6 35010 0t0 TCP *:80 (LISTEN)
apache2 5834 www-data 4u IPv6 35010 0t0 TCP *:80 (LISTEN)
apache2 5842 www-data 4u IPv6 35010 0t0 TCP *:80 (LISTEN)
apache2 5843 www-data 4u IPv6 35010 0t0 TCP *:80 (LISTEN)
apache2 5845 www-data 4u IPv6 35010 0t0 TCP *:80 (LISTEN)
apache2 5846 www-data 4u IPv6 35010 0t0 TCP *:80 (LISTEN)
...```
from community-edition.
I'm not sure I understand what you're trying to do with Apache but if you want to run multiple services on port 80, I created this repository to run Plausible.io with Traefik 2 as a reverse proxy.
https://github.com/MoryCorp/Plausible.io-behind-Traefik2
Would this help ?
from community-edition.
So it's most probably a misunderstanding on my side regarding the port usage of this docker setup.
I'll dig into this other repo and will close this issue as of now.
Thanks for having taken time to help me and sorry for the inconvenience.
from community-edition.
Plausible is running on port '8000' but the default docker-compose will map port "8000" to "80"
If you want to run plausible on another port, just to see if it works for example, you could change line '31' of the docker-compose.yml from :
ports:
- 80:8000
to :
ports:
- 8000:8000
Then run docker-compose up -d
Plausible should be available at : youdomain.com:8000
from community-edition.
Related Issues (20)
- document TOTP_VAULT_KEY length requirement HOT 1
- add Bamboo.Mua + gmail app password guide HOT 1
- document extra config
- Web page is not accessible after deploy containers using docker composer HOT 1
- Is it possible to use GeoIP databases with additional information? HOT 4
- document docker compose override files
- Arm64 Images support HOT 2
- Upgrade from 1.5 to 2.1 RC resulted in data loss HOT 2
- CH volume for logs
- Feature Request: Expose custom JS API to detect unique user/visitor HOT 1
- Clickhouse version 23.3 no longer supported HOT 3
- document DATA_DIR HOT 1
- [error] <PID> running PlausibleWeb.Endpoint (connection stream id ) terminated | (Protocol.UndefinedError) protocol Jason.Encoder not implemented for HOT 5
- Raspberry Pi + Cloudflare tunnel issue while docker compose HOT 5
- Preview doesn't load HOT 2
- Plausible log in weekly/monthly email reports points to a HTTP 404 link HOT 3
- Caddy-gen doesn't support ARM
- External Postgres DB connection (with ssl, digitalocean) does not work HOT 7
- enable query_log in ClickHouse HOT 1
- Database plausible_events_db does not exist HOT 8
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 community-edition.