1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-21 01:27:01 +02:00

add commento

This commit is contained in:
kev 2021-10-27 12:07:38 +08:00
parent 129ed7a3fc
commit ea05e918ea
6 changed files with 50 additions and 13 deletions

View File

@ -304,6 +304,7 @@ A collection of delicious docker recipes.
- [x] browserless/chrome
- [x] certbot
- [x] codercom/code-server
- [ ] registry.gitlab.com/commento/commento
- [x] confluentinc
- [x] cp-kafka-mqtt
- [x] cp-kafka-rest

7
commento/README.md Normal file
View File

@ -0,0 +1,7 @@
commento
========
[Commento][1] allows you to foster discussion on your website – if you have a blog,
you can embed Commento if you want your readers to add comments.
[1]: https://github.com/adtac/commento

View File

@ -0,0 +1,27 @@
version: "3.8"
services:
commento:
image: registry.gitlab.com/commento/commento
ports:
- "8080:8080"
environment:
- COMMENTO_ORIGIN=http://commento.easypi.tv:8080
- COMMENTO_PORT=8080
- COMMENTO_POSTGRES=postgres://commento:commento@postgres:5432/commento?sslmode=disable
depends_on:
- postgres
restart: unless-stopped
postgres:
image: postgres:alpine
ports:
- "5432:5432"
volumes:
- ./data:/var/lib/postgresql/data
environment:
- POSTGRES_USER=commento
- POSTGRES_PASSWORD=commento
- POSTGRES_DB=commento
restart: unless-stopped

View File

@ -5,7 +5,7 @@
FROM alpine:3
MAINTAINER EasyPi Software Foundation
ENV FRP_VERSION=0.37.1
ENV FRP_VERSION=0.38.0
ENV FRP_FILE=frp_${FRP_VERSION}_linux_amd64.tar.gz
ENV FRP_URL=https://github.com/fatedier/frp/releases/download/v${FRP_VERSION}/${FRP_FILE}

View File

@ -5,7 +5,7 @@
FROM alpine:3
MAINTAINER EasyPi Software Foundation
ENV FRP_VERSION=0.37.1
ENV FRP_VERSION=0.38.0
ENV FRP_FILE=frp_${FRP_VERSION}_linux_arm.tar.gz
ENV FRP_URL=https://github.com/fatedier/frp/releases/download/v${FRP_VERSION}/${FRP_FILE}

View File

@ -1,11 +1,13 @@
postgres:
image: postgres:13-alpine
ports:
- "5432:5432"
volumes:
- ./data:/var/lib/postgresql/data
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=postgres
restart: unless-stopped
version: "3.8"
services:
postgres:
image: postgres:alpine
ports:
- "5432:5432"
volumes:
- ./data:/var/lib/postgresql/data
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=postgres
restart: unless-stopped