this project provide the file needed for running nginx and odoo 12 behind traefik v2, it will allow you to get a domain with a valide ssl certificate
this project need that docker
and docker-compose
installed, also you need a server (or a virtual instance, i tested it using a vultr
instance) with an ipv4 address(it may work using ipv6 but i can't test it because i don't have an ipv6 address) and a domain (i generally use namecheap
) than point your domain to the ipv4 of the instance from the UI of your domain provider using an A
type DNS
record
- in the file
traefik.toml
, inline 22
changeemail
to the email you want to use for the creation of the SSL certificate (provided bylet's encrypt
), also change theline 33, 36, 61 and 64
in filedocker-compose.yml
to your own domain (you may want to change some other line according to your need) cd ~ && git clone https://github.com/souhaiebtar/traefik_nginx_odoo.git traefik_odoo && cd traefik_odoo
touch acme.json && chmod 600 acme.json
docker-compose up -d
- Automate the domain change (indicated in step 1 of How to use)
- some other stuff that i'm thinking about 🤔