docker-compose format and comment fixes (#492)

* fix typos in readme

* unify format of docker-compose files, fix comments
This commit is contained in:
Dmitry Verkhoturov
2019-12-17 01:36:10 -06:00
committed by Umputun
parent d23d119d70
commit 6a5cd79074
5 changed files with 20 additions and 23 deletions
+1 -1
View File
@@ -591,7 +591,7 @@ Developer build running by `webpack-dev-server` supports devtools for [React](ht
#### Frontend guide
Frontend guide can be found here: [./frontend/README.md](./frontend/README.md)
Frontend guide can be found here: [./frontend/Readme.md](./frontend/Readme.md)
## API
+4 -9
View File
@@ -1,15 +1,10 @@
# compose file for local development
# starts backend on 8080 with basic auth "dev:password" and Dev oauth2 provider on port 8084, UI on http://127.0.0.1:8080/web
#
# mongo-related tests needs mongodb container running - docker run -d -name=mongo mongo:3.6 --smallfiles
# start build with backend tests:
# MONGO_REMARK_TEST=$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' mongo) \
# docker-compose -f compose-dev-backend.yml build
#
# to skip mongo test set MONGO_REMARK_TEST=skip
# starts backend on 8080 with basic auth "dev:password" and Dev oauth2 provider on port 8084
# UI on http://127.0.0.1:8080/web
#
# build remark42 docker image - docker-compose -f compose-dev-backend.yml build
# start remark42 service - docker-compose -f compose-dev-backend.yml up
version: "2"
version: '2'
services:
remark42:
+10 -8
View File
@@ -1,7 +1,9 @@
# compose file for local development
# starts backend on 8080 with basic auth "dev:password" and Dev oauth2 provider on port 8084
# UI on https://127.0.0.1:8080/web
# UI on http://127.0.0.1:8080/web
#
# build remark42 docker image - docker-compose -f compose-dev-frontend.yml build
# start remark42 service - docker-compose -f compose-dev-frontend.yml up
version: '2'
services:
@@ -18,14 +20,14 @@ services:
hostname: "remark42-dev"
logging:
driver: json-file
options:
max-size: "10m"
max-file: "5"
driver: json-file
options:
max-size: "10m"
max-file: "5"
ports:
- "8080:8080" # primary rest server
- "8084:8084" # local oauth2 server
- "8080:8080" # primary rest server
- "8084:8084" # local oauth2 server
environment:
- REMARK_URL=http://127.0.0.1:8080
+4 -4
View File
@@ -9,10 +9,10 @@ services:
restart: always
logging:
driver: json-file
options:
max-size: "10m"
max-file: "5"
driver: json-file
options:
max-size: "10m"
max-file: "5"
# uncomment to expose directly (no proxy)
#ports:
+1 -1
View File
@@ -30,4 +30,4 @@
### Notes
* Frontend part being bundled on docker env gets placed on `/src/web` and is available via `http://{host}/web`. for example `embed.js` entry point will be availabale at `http://{host}/web/embed.js`
* Frontend part being bundled on docker env gets placed on `/src/web` and is available via `http://{host}/web`. for example `embed.js` entry point will be available at `http://{host}/web/embed.js`