diff --git a/README.md b/README.md index 34b28b7..edfd44b 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,9 @@ Set your email address in the docker compose and replace _DOMAIN_NAME_ with you ### 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. +### Front End +The front end is written in angular and thus is a single page application. The paths to the back ends [API](https://github.com/fLotte-meets-HWR-DB/apollo-server) and [user server](https://github.com/fLotte-meets-HWR-DB/flotte-user-management) are backed into it. They need to be specified before you compile the type script. Meaning every time you change the paths to the back end, you need to rebuild the front end container with the new urls. + ### Start the services ```bash docker-compose up -d diff --git a/docker-compose.yml b/docker-compose.yml index 41c8286..ab78d00 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,6 +4,7 @@ services: image: postgres:12.4-alpine ports: - "8001:5432" + restart: unless-stopped volumes: - database-volume:/var/lib/postgresql/data - ./init-users.sh:/docker-entrypoint-initdb.d/init-users.sh