Skip to content

Commit da940d7

Browse files
dotWeeawesome-manuel
authored andcommitted
Add notes about the docker-compose usage
Change-Id: I73c8467ab58caf2082740e682c9175f3eb494a14
1 parent b2cc403 commit da940d7

1 file changed

Lines changed: 20 additions & 1 deletion

File tree

README.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,26 @@ Steps for 1):
3535

3636
Steps for 2):
3737

38-
- run the Docker container: `docker run -p 8080:80 awesometechnologies/synapse-admin`
38+
- run the Docker container from the public docker registry: `docker run -p 8080:80 awesometechnologies/synapse-admin` or use the (docker-compose.yml)[docker-compose.yml]: `docker-compose up -d`
39+
40+
> note: if you're building on an architecture other than amd64 (for example a raspberry pi), make sure to define a maximum ram for node. otherwise the build will fail.
41+
42+
```yml
43+
version: "3"
44+
45+
services:
46+
synapse-admin:
47+
container_name: synapse-admin
48+
hostname: synapse-admin
49+
build:
50+
context: https://github.com/Awesome-Technologies/synapse-admin.git
51+
# args:
52+
# - NODE_OPTIONS="--max_old_space_size=1024"
53+
ports:
54+
- "8080:80"
55+
restart: unless-stopped
56+
```
57+
3958
- browse to http://localhost:8080
4059
4160
## Screenshots

0 commit comments

Comments
 (0)