Commit c8678b54 authored by Naoki Kosaka's avatar Naoki Kosaka

Update v1.0.0-beta.12

parent 242cdff3
version: 2
jobs:
docker-image-amd64:
docker:
- image: docker:git
steps:
- checkout
- setup_remote_docker
- run:
name: build docker image
command: |
docker build -t ${DOCKER_USER}/peertube:latest-amd64 .
- run:
name: upload image to docker hub.
command: |
docker login --username=${DOCKER_USER} --password=${DOCKER_PASS}
docker push ${DOCKER_USER}/peertube:latest-amd64
docker-image-arm64:
machine:
image: circleci/classic:edge
steps:
- checkout
- run:
name: Activate qemu
command: |
sudo docker run --rm --privileged multiarch/qemu-user-static:register --reset
wget https://github.com/multiarch/qemu-user-static/releases/download/v2.12.0-1/qemu-aarch64-static
chmod +x qemu-aarch64-static
- run:
name: Change Dockerfile
command: |
sed -i -e "s/alpine:/arm64v8\/alpine:/" Dockerfile
sed -i -e "2i ADD qemu-aarch64-static /usr/bin" Dockerfile
- run:
name: build docker image
command: |
docker build -t ${DOCKER_USER}/peertube:latest-arm64 .
- run:
name: upload image to docker hub.
command: |
docker login --username=${DOCKER_USER} --password=${DOCKER_PASS}
docker push ${DOCKER_USER}/peertube:latest-arm64
docker-manifest:
docker:
- image: docker:git
steps:
- checkout
- setup_remote_docker
- run:
name: Install manifest-tool
command: |
wget https://github.com/estesp/manifest-tool/releases/download/v0.7.0/manifest-tool-linux-amd64 -O /usr/bin/manifest-tool
chmod +x /usr/bin/manifest-tool
- run:
name: Push manifest
command: |
docker login --username=${DOCKER_USER} --password=${DOCKER_PASS}
manifest-tool push from-spec manifest.yaml
workflows:
version: 2
build:
jobs:
- docker-image-amd64
- docker-image-arm64
- docker-manifest:
requires:
- docker-image-amd64
- docker-image-arm64
platform: linux/arm64
pipeline:
docker:
dockerfile: Dockerfile
image: plugins/docker:linux-arm64
repo: yukimochi/peertube
secrets: [ docker_username, docker_password ]
tags: latest-aarch64
FROM alpine:edge
ARG PEERTUBE_VER=v1.0.0-beta.11
ARG PEERTUBE_VER=v1.0.0-beta.12
WORKDIR /var/www/peertube
RUN adduser -h /var/www/peertube -s /bin/sh -D peertube && \
......
......@@ -57,6 +57,15 @@ storage:
log:
level: 'info' # debug/info/warning/error
search:
remote_uri: # Add ability to fetch remote videos/actors by their URI, that may not be federated with your instance
users: true
anonymous: false
trending:
videos:
interval_days: 7 # Compute trending videos for the last x days
cache:
previews:
size: 500 # Max number of previews you want to cache
......@@ -69,6 +78,7 @@ admin:
signup:
enabled: false
limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited
requires_email_verification: false
filters:
cidr: # You can specify CIDR ranges to whitelist (empty = no filtering) or blacklist
whitelist: []
......@@ -78,6 +88,7 @@ user:
# Default value of maximum video BYTES the user can upload (does not take into account transcoded files).
# -1 == unlimited
video_quota: -1
video_quota_daily: -1
# If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag
# In addition, if some resolutions are enabled the mp4 video file will be transcoded to these new resolutions.
......@@ -116,6 +127,9 @@ instance:
robots: |
User-agent: *
Disallow: ''
# Security.txt rules. To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string.
securitytxt:
"# If you would like to report a security issue\n# you may report it to:\nContact: https://github.com/Chocobozzz/PeerTube/blob/develop/SECURITY.md\nContact: mailto:"
services:
# Cards configuration to format video in Twitter
......
......@@ -58,18 +58,14 @@ storage:
log:
level: 'info' # debug/info/warning/error
search:
remote_uri: # Add ability to fetch remote videos/actors by their URI, that may not be federated with your instance
users: true
anonymous: false
###############################################################################
#
# From this point, all the following keys can be overridden by the web interface
# (local-production.json file). If you need to change some values, prefer to
# use the web interface because the configuration will be automatically
# reloaded without any need to restart PeerTube.
#
# /!\ If you already have a local-production.json file, the modification of the
# following keys will have no effect /!\.
#
###############################################################################
trending:
videos:
interval_days: 7 # Compute trending videos for the last x days
cache:
previews:
......@@ -83,6 +79,7 @@ admin:
signup:
enabled: false
limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited
requires_email_verification: false
filters:
cidr: # You can specify CIDR ranges to whitelist (empty = no filtering) or blacklist
whitelist: []
......@@ -92,6 +89,7 @@ user:
# Default value of maximum video BYTES the user can upload (does not take into account transcoded files).
# -1 == unlimited
video_quota: -1
video_quota_daily: -1
# If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag
# In addition, if some resolutions are enabled the mp4 video file will be transcoded to these new resolutions.
......@@ -131,6 +129,9 @@ instance:
robots: |
User-agent: *
Disallow: ''
# Security.txt rules. To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string.
securitytxt:
"# If you would like to report a security issue\n# you may report it to:\nContact: https://github.com/Chocobozzz/PeerTube/blob/develop/SECURITY.md\nContact: mailto:"
services:
# Cards configuration to format video in Twitter
......
......@@ -6,7 +6,7 @@ manifests:
architecture: amd64
os: linux
-
image: yukimochi/peertube:latest-aarch64
image: yukimochi/peertube:latest-arm64
platform:
architecture: arm64
variant: v8
......
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