From a12cf954577793c1518793204d327daff08f8fcd Mon Sep 17 00:00:00 2001 From: Lukas Wolfsteiner Date: Sat, 23 Jan 2021 13:37:50 +0100 Subject: [PATCH] Add docker-compose.yml --- docker-compose.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..8854ce0 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,21 @@ +version: "3" + +services: + synapse-admin: + container_name: synapse-admin + hostname: synapse-admin + image: awesometechnologies/synapse-admin:latest + # build: + # context: . + + # to use the docker-compose as standalone without a local repo clone, + # replace the context definition with this: + # context: https://github.com/Awesome-Technologies/synapse-admin.git + + # if you're building on an architecture other than amd64, make sure + # to define a maximum ram for node. otherwise the build will fail. + # args: + # - NODE_OPTIONS="--max_old_space_size=1024" + ports: + - "8080:80" + restart: unless-stopped