Compare commits

...

2 Commits

Author SHA1 Message Date
3wc 866c2eb754 Update go-ssb-room, add Dockerfile
continuous-integration/drone Build is passing Details
2021-11-06 23:07:32 +02:00
3wc 0891843cb3 Add README 2021-06-01 22:54:06 +02:00
3 changed files with 37 additions and 1 deletions

13
.drone.yml Normal file
View File

@ -0,0 +1,13 @@
---
kind: pipeline
name: publish docker image
steps:
- name: build and publish
image: plugins/docker
settings:
username:
from_secret: docker_reg_username_3wc
password:
from_secret: docker_reg_passwd_3wc
repo: 3wordchant/go-ssb-room
tags: latest

View File

@ -5,7 +5,7 @@ FROM golang:1.16.4-alpine3.12
RUN apk -U upgrade \
&& apk add -t build-dependencies git gcc musl-dev
ENV GO_SSB_ROOM_VER=2.0.3
ENV GO_SSB_ROOM_VER=2.0.6
RUN cd / \
&& wget -q https://github.com/ssb-ngi-pointer/go-ssb-room/archive/refs/tags/v${GO_SSB_ROOM_VER}.tar.gz \

23
README.md Normal file
View File

@ -0,0 +1,23 @@
# Docker-go-ssb-room
Dockerfile for https://github.com/ssb-ngi-pointer/go-ssb-room/
## Using
Plain Docker:
```sh
docker run \
-e "DOMAIN=yourdomain.com" \
-v "$PWD/data:/app/data" \
-p "3000:3000" \
3wordchant/go-ssb-room:2.0.3
```
[Co-op Cloud](https://coopcloud.tech):
```sh
abra app new go-ssb-room
# answer prompts
abra app room.example.com deploy
```