hakwerk / labca

A private Certificate Authority for internal (lab) use, based on the open source ACME Automated Certificate Management Environment implementation from Let's Encrypt (tm).
https://lab-ca.net
Other
375 stars 39 forks source link

reverse proxy - Traefik #136

Closed ilsaul closed 2 months ago

ilsaul commented 4 months ago

Hi, I use a reverse proxy to setup any container and I have to do it with labca. I use Traefik and for this I need to insert some labels in the container script. Exist this system too: https://docs.docker.com/compose/multiple-compose-files/merge/ with compose.override.yml How can I use it with your system? I used the command 'curl -sSL https://raw.githubusercontent.com/hakwerk/labca/master/install | bash'

thank you

ilsaul commented 4 months ago

I add my docker-compose.override.yml services: nginx: networks:

networks: rproxy: name: traefik external: true

but not working.

hakwerk commented 4 months ago

I have no experience with override files. Perhaps the networks: field of the nginx service in the override file is replacing the networks instead of appending? You could try putting this in your compose.override.yml:

    networks:
      - bouldernet
      - rproxy

but not working.

Normally the error message should give you some clue what is wrong...