Skip to content

Unable to start Plausible using docker-compose #509

Discussion options

You must be logged in to vote

Sorry guys, this was due to a very stupid mistake I made: when I first started the plausible container I received an error because the 8000/tcp was already in use on localhost, so I changed the port in docker-compose.yml directive, from 8000 to 8888.

My mistake was changing the port number on BOTH sides of the ports directive, like this:

  plausible:
    image: plausible/analytics:latest
    command: sh -c "sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh db init-admin && /entrypoint.sh run"
    depends_on:
      - plausible_db
      - plausible_events_db
      - mail
    ports:
      - 8888:8888    <-- obviously this is wrong!
    env_file:
      - pl…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by stefanomarty
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants