Commit a23c4191 authored by kaiyou's avatar kaiyou

Add missing services

parent da1bc1ad
version: '2.1'
services:
db:
image: mariadb:latest
volumes:
- ./data:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD
- MYSQL_DATABASE
- MYSQL_USER
- MYSQL_PASSWORD
blogs:
image: wordpress:latest
labels:
- traefik.enable=true
- traefik.frontend.rule=HostRegexp:${hostname},{subdomain:[a-z-]+}.${hostname},${extrahosts}
volumes:
- ./conf/wp-config.php:/usr/src/wordpress/wp-config.php
- ./conf/.htaccess:/usr/src/wordpress/.htaccess
- ./wp:/var/www/html/wp-content
environment:
- WORDPRESS_DB_HOST
- WORDPRESS_DB_USER
- WORDPRESS_DB_NAME
- WORDPRESS_DB_PASSWORD
networks:
default:
enable_ipv6: true
driver: bridge
ipam:
driver: default
config:
- subnet: "${prefix}/64"
gateway: "${prefix}1"
version: '2.1'
services:
dns:
image: tedomum/pdns
labels:
- traefik.enable=true
- traefik.frontend.rule=Host:${hostname}
- traefik.port=8081
volumes:
- ./data:/zones
ports:
- "${ipv4}:53:53/udp"
- "${ipv6}:53:53/udp"
- "${ipv4}:53:53"
- "${ipv6}:53:53"
command: |
--launch=bind
--bind-config=/zones/named.conf
--bind-supermasters=/zones/sm.conf
--bind-supermaster-config=/zones/zones.conf
--bind-supermaster-destdir=/zones
--local-ipv6=::
--allow-axfr-ips=::1
--webserver-address=0.0.0.0
--api=yes
--api-key=testtesttest
--default-soa-name=${hostname}.
--default-soa-mail=${mail}.
networks:
default:
enable_ipv6: true
driver: bridge
ipam:
driver: default
config:
- subnet: "${prefix}/64"
gateway: "${prefix}1"
version: '2.1'
services:
db:
image: postgres:9.6-alpine
volumes:
- ./db:/var/lib/postgresql/data
environment:
- POSTGRES_USER
- POSTGRES_PASSWORD
redis:
image: redis:alpine
volumes:
- ./redis:/data
rabbit:
image: rabbitmq:alpine
volumes:
- ./rabbitmq:/var/lib/rabbitmq
environment:
- RABBITMQ_DEFAULT_USER
- RABBITMQ_DEFAULT_PASS
- RABBITMQ_DEFAULT_VHOST
onlyoffice:
image: onlyoffice/documentserver
labels:
- traefik.enable=true
- traefik.frontend.rule=Host:${hostname}
volumes:
- ./start.sh:/start.sh
- ./data:/var/www/onlyoffice/Data
environment:
- POSTGRESQL_SERVER_HOST=db
- POSTGRESQL_SERVER_DB_NAME=${POSTGRES_USER}
- POSTGRESQL_SERVER_USER=${POSTGRES_USER}
- POSTGRESQL_SERVER_PASS=${POSTGRES_PASSWORD}
- REDIS_SERVER_HOST=redis
- RABBITMQ_SERVER_URL=amqp://${RABBITMQ_DEFAULT_USER}:${RABBITMQ_DEFAULT_PASS}@rabbit/${RABBITMQ_DEFAULT_VHOST}
command: "/start.sh"
networks:
default:
enable_ipv6: true
driver: bridge
ipam:
driver: default
config:
- subnet: "${prefix}/64"
gateway: "${prefix}1"
#!/bin/sh
echo 'proxy_set_header X-Forwarded-Proto https;' > /etc/nginx/includes/onlyoffice-documentserver-path.conf
/app/onlyoffice/run-document-server.sh
tail -n 0 -f /dev/null
version: '2.1'
services:
db:
image: mariadb:latest
volumes:
- ./data:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD
- MYSQL_DATABASE
- MYSQL_USER
- MYSQL_PASSWORD
ttrss:
image: tedomum/tt-rss
restart: on-failure:5
labels:
- traefik.enable=true
- traefik.frontend.rule=Host:${hostname}
volumes:
- ./plugins:/var/www/html/plugins.local
environment:
- DB_HOST=db
- DB_NAME=${MYSQL_DATABASE}
- DB_USER=${MYSQL_USER}
- DB_PASS=${MYSQL_PASSWORD}
- DB_PORT=3306
- SELF_URL_PATH=https://${hostname}
networks:
default:
enable_ipv6: true
driver: bridge
ipam:
driver: default
config:
- subnet: "${prefix}/64"
gateway: "${prefix}1"
version: '2.1'
services:
tedimg:
image: tedomum/tedimg
labels:
- traefik.enable=true
- traefik.frontend.rule=Host:${hostname}
volumes:
- ./data:/data
environment:
- SITE_NAME
old:
image: nginx
labels:
- traefik.enable=true
- traefik.frontend.rule=Host:${hostname};PathPrefix:/images/,/thumbs/
volumes:
- ./old:/usr/share/nginx/html
networks:
default:
enable_ipv6: true
driver: bridge
ipam:
driver: default
config:
- subnet: "${prefix}/64"
gateway: "${prefix}1"
version: '2.1'
services:
db:
image: postgres:9.6-alpine
volumes:
- './data/db:/var/lib/postgresql/data'
redis:
image: redis:4.0-alpine
volumes:
- ./data/redis:/data
web:
image: tootsuite/mastodon:${version}
env_file: ./data/env.production
command: bundle exec rails s -p 3000 -b '[::]'
depends_on:
- db
- redis
volumes:
- ./data/public/system:/mastodon/public/system
labels:
- traefik.enable=true
- traefik.frontend.rule=Host:${hostname}
- traefik.port=3000
streaming:
image: tootsuite/mastodon:${version}
env_file: ./data/env.production
command: yarn start
depends_on:
- db
- redis
labels:
- traefik.enable=true
- traefik.protocol=ws
- traefik.frontend.passHostHeader=true
- traefik.frontend.rule=Host:${hostname};PathPrefixStrip:/api/v1/streaming
- traefik.port=4000"
sidekiq:
image: tootsuite/mastodon:${version}
env_file: ./data/env.production
command: bundle exec sidekiq -q default -q mailers -q pull -q push
depends_on:
- db
- redis
volumes:
- ./data/public/system:/mastodon/public/system
networks:
default:
enable_ipv6: true
driver: bridge
ipam:
driver: default
config:
- subnet: "${prefix}/64"
gateway: "${prefix}1"
version: '2.1'
services:
meet:
image: tedomum/jitsi
labels:
- traefik.enable=true
- traefik.frontend.rule=Host:${hostname}
ports:
- "${ipv4}:10000:10000/udp"
- "${ipv6}:10000:10000/udp"
- "${ipv4}:4443:4443"
- "${ipv6}:4443:4443"
environment:
- DOMAIN=${hostname}
- STUN=${stun}
- BRIDGE_IP=${ipv4}
networks:
default:
enable_ipv6: true
driver: bridge
ipam:
driver: default
config:
- subnet: "${prefix}/64"
gateway: "${prefix}1"
version: '2.1'
services:
pads:
image: tvelocity/etherpad-lite
restart: always
labels:
- traefik.enable=true
- traefik.frontend.rule=Host:${hostname}
- traefik.port=9001
environment:
- ETHERPAD_DB_HOST=db
- ETHERPAD_DB_USER=${MYSQL_USER}
- ETHERPAD_DB_PASSWORD=${MYQL_PASSWORD}
- ETHERPAD_ADMIN_PASSWORD
db:
image: mariadb:latest
volumes:
- ./data:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD
- MYSQL_DATABASE
- MYSQL_USER
- MYSQL_PASSWORD
networks:
default:
enable_ipv6: true
driver: bridge
ipam:
driver: default
config:
- subnet: "${prefix}/64"
gateway: "${prefix}1"
version: '2.1'
services:
app:
image: tedomum/pixelfed
labels:
- traefik.enable=true
- traefik.frontend.rule=Host:${hostname}
volumes:
- "./storage:/var/www/storage"
db:
image: mysql:5.7
environment:
- MYSQL_DATABASE
- MYSQL_USER
- MYSQL_PASSWORD
- MYSQL_RANDOM_ROOT_PASSWORD=true
volumes:
- "./data:/var/lib/mysql"
worker:
image: tedomum/pixelfed
volumes_from:
- app
command: php artisan horizon
redis:
image: redis:alpine
volumes:
- "./redis:/data"
networks:
default:
enable_ipv6: true
driver: bridge
ipam:
driver: default
config:
- subnet: "${prefix}/64"
gateway: "${prefix}1"
version: '2.1'
services:
peertube:
image: tedomum/peertube
labels:
- traefik.enable=true
- traefik.frontend.rule=Host:${hostname}
- traefik.port=9000
volumes:
- ./data:/data
environment:
- PEERTUBE_WEBSERVER_HOSTNAME=${hostname}
- PEERTUBE_WEBSERVER_PORT=443
- PEERTUBE_WEBSERVER_HTTPS=true
- PEERTUBE_USER_VIDEO_QUOTA=2147483648
- PEERTUBE_SMTP_USERNAM
- PEERTUBE_SMTP_PASSWORD
- PEERTUBE_SMTP_HOSTNAME
- PEERTUBE_SMTP_PORT=465
- PEERTUBE_SMTP_FROM
- PEERTUBE_SMTP_TLS=true
- PEERTUBE_ADMIN_EMAIL
- PEERTUBE_REDIS_HOSTNAME=redis
- PEERTUBE_DB_HOSTNAME=db
- PEERTUBE_DB_USERNAME=${POSTGRES_USER}
- PEERTUBE_DB_PASSWORD=${POSTGRES_PASSWORD}
- PEERTUBE_SIGNUP_ENABLED=true
- PEERTUBE_SIGNUP_LIMIT
- PEERTUBE_INSTANCE_NAME=${hostname}
- PEERTUBE_INSTANCE_TERMS
- PEERTUBE_TRANSCODING_ENABLED=true
- PEERTUBE_TRANSCODING_360P=true
- PEERTUBE_TRANSCODING_720P=true
redis:
image: redis:latest
volumes:
- ./redis:/data
db:
image: postgres:latest
volumes:
- ./db:/var/lib/postgresql/data
environment:
- POSTGRES_USER
- POSTGRES_PASSWORD
networks:
default:
enable_ipv6: true
driver: bridge
ipam:
driver: default
config:
- subnet: "${prefix}/64"
gateway: "${prefix}1"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment