Browse Source

Update docker-compose

master
Garrit Franke 4 years ago
parent
commit
73400e568a
  1. 2
      README.md
  2. 5
      docker-compose.yml

2
README.md

@ -19,4 +19,4 @@ Omega CRM is still in early development. It is not yet deployed, but can be self
To deploy a Omega CRM backend and frontend, follow the instructions in `server/` and `client/` respectively.
Alternatively, you can deploy the app via docker-compose. See `contrib/docker-compose.yml` for an example.
Alternatively, you can deploy the app via docker-compose. See `docker-compose.yml` for an example.

5
contrib/docker-compose.yml → docker-compose.yml

@ -19,6 +19,9 @@ services:
restart: always
ports:
- 8080:8080
environment:
AUTH_SECRET: mysecretl
DATABASE_URL: mongodb://root:example@mongo/omega?retryWrites=true&w=majority
networks:
- omega
@ -27,6 +30,8 @@ services:
restart: always
ports:
- 80:80
environment:
API_BASE_PATH: http://server:8080
networks:
- omega
networks:
Loading…
Cancel
Save