docker-compose.yml: fix indentation, add args
fix the indentation add the args as example, as described in the README
This commit is contained in:
parent
0b153ddcbb
commit
c891793c6d
@ -6,16 +6,20 @@ services:
|
|||||||
hostname: synapse-admin
|
hostname: synapse-admin
|
||||||
image: awesometechnologies/synapse-admin:latest
|
image: awesometechnologies/synapse-admin:latest
|
||||||
# build:
|
# build:
|
||||||
# context: .
|
# context: .
|
||||||
|
|
||||||
# to use the docker-compose as standalone without a local repo clone,
|
# to use the docker-compose as standalone without a local repo clone,
|
||||||
# replace the context definition with this:
|
# replace the context definition with this:
|
||||||
# context: https://github.com/Awesome-Technologies/synapse-admin.git
|
# context: https://github.com/Awesome-Technologies/synapse-admin.git
|
||||||
|
|
||||||
# if you're building on an architecture other than amd64, make sure
|
# args:
|
||||||
# to define a maximum ram for node. otherwise the build will fail.
|
# if you're building on an architecture other than amd64, make sure
|
||||||
# args:
|
# to define a maximum ram for node. otherwise the build will fail.
|
||||||
# - NODE_OPTIONS="--max_old_space_size=1024"
|
# - NODE_OPTIONS="--max_old_space_size=1024"
|
||||||
|
# default is /
|
||||||
|
# - PUBLIC_URL="/synapse-admin"
|
||||||
|
# You can fix the homeserver, so that the user can no longer define it himself
|
||||||
|
# - REACT_APP_SERVER="https://matrix.example.com"
|
||||||
ports:
|
ports:
|
||||||
- "8080:80"
|
- "8080:80"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
Loading…
Reference in New Issue
Block a user