New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated docs? #203
Comments
In addition, running via docker is not possible as the image is unavailable at the moment. |
I've pushed a Docker build of this to my Docker Hub account at prologic/librecov |
I wasn't able to get this working 😢 I just keep getting "502 Bad Gateway" despite no errors Here's my ---
version: "3.8"
services:
db:
image: postgres:9.5
volumes:
- db:/var/lib/postgresql/data/pgdata
environment:
PGDATA: /var/lib/postgresql/data/pgdata
POSTGRES_PASSWORD: '<redacted>'
networks:
- librecov
deploy:
replicas: 1
setup:
image: prologic/librecov:dev
command: mix ecto.setup
environment:
DATABASE_URL: "ecto://postgres:<redacted>@db/opencov_prod?ssl=false"
SECRET_KEY_BASE: "<redacted>"
networks:
- librecov
deploy:
restart_policy:
condition: none
librecov:
image: prologic/librecov
environment:
PORT: "4000"
DATABASE_URL: "postgres://postgres:<redacted>@db/opencov_prod?ssl=false"
SECRET_KEY_BASE: "<redacted>"
LIBRECOV_HOST: "cov.mydomain.com"
LIBRECOV_CDN_HOST: "cov.mydomain.com"
networks:
- traefik
- librecov
deploy:
replicas: 1
labels:
- "traefik.enable=true"
- "traefik.docker.network=traefik"
- "traefik.http.services.coverage_librecov.loadbalancer.server.port=4000"
- "traefik.http.routers.coverage_librecov.rule=Host(`cov.mydomain.com`)"
- "traefik.http.routers.coverage_librecov.priority=2"
restart_policy:
condition: on-failure
networks:
traefik:
external: true
librecov:
driver: overlay
volumes:
db:
driver: local I also pushed a modified version of the Dockerfile as prologic/librecov:dev as this app doesn't seem to do its own database setup or migrations on startup, so you need to have a service (which I've called |
@prologic I'm actively looking at this as well -- would be interested in a solution. My goal is to run this on a local docker instance for our little project. Need to run standalone, HA is not really an issue. I got the containers via This is all new territory for me (especially the erlang piece), so i don't even know where to start troubleshooting... |
@rschmied Unfortunately I failed. I was not able to get this software running, or I think I got it running but it is quite bad to use and doesn't even work. 😢 |
I also found this project looking at opencov |
This is such a nice project - considering learning Elixir because of this 👀 |
Found this project after exploring https://github.com/danhper/opencov, awesome you are keeping it going!
Are there any updated docs for getting a deployment of this going though? Seems like quite a few changes have been made but no updates to the README. Right now I'm struggling to get the initial setup done since
mix
isn't in the Docker image so I can't runmix ecto.setup
.Thanks!
The text was updated successfully, but these errors were encountered: