Deploy all services with docker-compose
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
leonnicolas 240b7a8e8b
added subdomains
4 years ago
certbot_extra_domains added subdomains 4 years ago
conf.d added subdomains 4 years ago
LICENSE Initial commit 4 years ago
README.md added subdomains 4 years ago
docker-compose.yml added subdomains 4 years ago
init-users.sh docker-compose, inite-users and nginx config 4 years ago

README.md

deployment

Deploy all services with docker-compose

Usage

Proxy and tls

Set your email address in the docker compose and replace DOMAIN_NAME with you public domain, where you want to deploy the flotte db project, to get let's encrypt tls certificates or delete that service and use your own nginx configuration. In that case you can look at ./conf.d/nginx.conf to see the proxy configuration.

Postgres

The postgres db is initiated with the init-user.sh to create users for the user server and the api server. Change the passwords and/or user names. Do that also in the docker compose.

Start the services

docker-compose up -d

Verify

To see running containers do

docker container list

To see logs of container do

docker logs <container name>

To get a terminal for postgres

docker exec -it <postgres container name> sh
psql -U fapi -d flotte_api