Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
peertubeV1
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
flint media
peertubeV1
Commits
c8678b54
Commit
c8678b54
authored
Sep 12, 2018
by
Naoki Kosaka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update v1.0.0-beta.12
parent
242cdff3
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
99 additions
and
22 deletions
+99
-22
config.yml
.circleci/config.yml
+71
-0
.drone.yml
.drone.yml
+0
-9
Dockerfile
Dockerfile
+1
-1
default.yaml
config/default.yaml
+14
-0
production.yaml
config/production.yaml
+12
-11
manifest.yaml
manifest.yaml
+1
-1
No files found.
.circleci/config.yml
0 → 100644
View file @
c8678b54
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
.drone.yml
deleted
100644 → 0
View file @
242cdff3
platform
:
linux/arm64
pipeline
:
docker
:
dockerfile
:
Dockerfile
image
:
plugins/docker:linux-arm64
repo
:
yukimochi/peertube
secrets
:
[
docker_username
,
docker_password
]
tags
:
latest-aarch64
Dockerfile
View file @
c8678b54
FROM
alpine:edge
ARG
PEERTUBE_VER=v1.0.0-beta.1
1
ARG
PEERTUBE_VER=v1.0.0-beta.1
2
WORKDIR
/var/www/peertube
RUN
adduser
-h
/var/www/peertube
-s
/bin/sh
-D
peertube
&&
\
...
...
config/default.yaml
View file @
c8678b54
...
...
@@ -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:
\n
Contact:
https://github.com/Chocobozzz/PeerTube/blob/develop/SECURITY.md
\n
Contact:
mailto:"
services
:
# Cards configuration to format video in Twitter
...
...
config/production.yaml
View file @
c8678b54
...
...
@@ -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:
\n
Contact:
https://github.com/Chocobozzz/PeerTube/blob/develop/SECURITY.md
\n
Contact:
mailto:"
services
:
# Cards configuration to format video in Twitter
...
...
manifest.yaml
View file @
c8678b54
...
...
@@ -6,7 +6,7 @@ manifests:
architecture
:
amd64
os
:
linux
-
image
:
yukimochi/peertube:latest-a
arch
64
image
:
yukimochi/peertube:latest-a
rm
64
platform
:
architecture
:
arm64
variant
:
v8
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment