update
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Sthope 2022-08-06 22:36:50 +02:00
parent ec2f55a2e4
commit 1171073e34
3 changed files with 137 additions and 0 deletions

View File

@ -0,0 +1,31 @@
Portainer Stack:
```yaml
---
version: "3.8"
services:
ethercalc:
container_name: ethercalc
image: audreyt/ethercalc
restart: unless-stopped
network_mode: bridge
ports:
- 8700:8000
environment:
- REDIS_PORT_6379_TCP_ADDR=ethercalc-redis
- REDIS_PORT_6379_TCP_PORT=6379
links:
- ethercalc-redis:redis
labels:
- com.centurylinklabs.watchtower.enable=true
ethercalc-redis:
container_name: ethercalc-redis
image: redis:latest
restart: unless-stopped
network_mode: bridge
command: redis-server --appendonly yes
volumes:
- /docker/redis:/data
labels:
- com.centurylinklabs.watchtower.enable=true
```

View File

@ -0,0 +1,59 @@
Portainer Stack:
```yaml
---
version: '3.8'
services:
onlyoffice-documentserver:
image: onlyoffice/documentserver:latest
container_name: onlyoffice-documentserver
depends_on:
- onlyoffice-postgresql
- onlyoffice-rabbitmq
environment:
- DB_TYPE=postgres
- DB_HOST=onlyoffice-postgresql
- DB_PORT=5432
- DB_NAME=
- DB_USER=
- AMQP_URI=amqp://guest:guest@onlyoffice-rabbitmq
- JWT_ENABLED=true
- JWT_SECRET=superstrongpassword
- JWT_HEADER=Authorization
- JWT_IN_BODY=true
ports:
- 49155:80
- 49154:443
stdin_open: true
restart: unless-stopped
stop_grace_period: 60s
volumes:
- /docker/onlyoffice/www:/var/www/onlyoffice/Data
- /docker/onlyoffice/log:/var/log/onlyoffice
- /docker/onlyoffice/app_data:/var/lib/onlyoffice/documentserver/App_Data/cache/files
- /docker/onlyoffice/public:/var/www/onlyoffice/documentserver-example/public/files
- /docker/onlyoffice/fonts:/usr/share/fonts
labels:
- com.centurylinklabs.watchtower.enable=true
onlyoffice-rabbitmq:
container_name: onlyoffice-rabbitmq
image: rabbitmq
restart: unless-stopped
ports:
- 49153:5672
labels:
- com.centurylinklabs.watchtower.enable=true
onlyoffice-postgresql:
container_name: onlyoffice-postgresql
image: postgres:latest
environment:
- POSTGRES_DB=
- POSTGRES_USER=
- POSTGRES_HOST_AUTH_METHOD=trust
restart: unless-stopped
volumes:
- /docker/docs/onlyoffice/db:/var/lib/postgresql
labels:
- com.centurylinklabs.watchtower.enable=true
```

View File

@ -0,0 +1,47 @@
Portainer Stack:
```yaml
---
version: "3.8"
services:
piped:
image: 1337kavin/piped:${TAG-latest}
container_name: piped
network_mode: ${NET_MODE-bridge}
depends_on:
- piped-postgres
ports:
- ${PORT_PIPED-8080}:8080
volumes:
- ${VOLUME_PIPED_CONFIG-/docker/piped/config.properties}:/app/config.properties
restart: ${RST-unless-stopped}
labels:
- com.centurylinklabs.watchtower.enable=${AutoUpdate-true}
piped-postgres:
image: 1337kavin/piped:${TAG-latest}
container_name: piped-postgres
network_mode: ${NET_MODE-bridge}
volumes:
- ${VOLUME_PIPED_DB-/docker/piped/db}:/var/lib/postgresql/data
restart: ${RST-unless-stopped}
labels:
- com.centurylinklabs.watchtower.enable=${AutoUpdate-true}
environment:
- POSTGRES_DB=piped
- POSTGRES_USER=${DB_USER-db_username}
- POSTGRES_PASSWORD=${DB_PWD-db_password}
```
Environments:
```
TAG=latest
RST=unless-stopped
NET_MODE=bridge
AutoUpdate=true
DB_USER=db_username
DB_PWD=db_password
VOLUME_PIPED_CONFIG=/docker/piped/config.properties
VOLUME_PIPED_DB=/docker/piped/db
PORT_PIPED=8080
```