Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
playbooks
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
playbooks
Commits
4ea6b09c
Commit
4ea6b09c
authored
Mar 02, 2022
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pter
parent
4ad8c69a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
85 additions
and
21 deletions
+85
-21
files/pter/config.yml.j2
files/pter/config.yml.j2
+82
-0
pter.yml
pter.yml
+3
-21
No files found.
files/pter/config.yml.j2
0 → 100644
View file @
4ea6b09c
debug: false
app_name: {{ansible_ssh_host}}
uuid: {{uuid}}
token_id: {{token_id}}
token: {{token}}
api:
host: 0.0.0.0
port: {{https_port}}
ssl:
enabled: true
cert: /certs/fullchain.pem
key: /certs/privkey.pem
disable_remote_download: false
upload_limit: 100
system:
root_directory: {{data_path}}
log_directory: {{data_path}}/log
data: {{data_path}}/container-data
archive_directory: {{data_path}}/archives
backup_directory: {{data_path}}/backups
username: pterodactyl
timezone: Asia/Shanghai
user:
uid: 100
gid: 101
disk_check_interval: 150
check_permissions_on_boot: true
enable_log_rotate: true
websocket_log_count: 150
sftp:
bind_address: 0.0.0.0
bind_port: {{sftp_port}}
read_only: false
crash_detection:
enabled: true
detect_clean_exit_as_crash: true
timeout: 60
backups:
write_limit: 0
transfers:
download_limit: 0
docker:
network:
interface: 10.210.0.1
dns:
- {{dns}}
name: pterodactyl_nw
ispn: false
driver: bridge
network_mode: pterodactyl_nw
is_internal: false
enable_icc: true
interfaces:
v4:
subnet: 10.210.0.0/16
gateway: 10.210.0.1
v6:
subnet: fdba:17c8:6c94::/64
gateway: fdba:17c8:6c94::1011
domainname: ""
registries: {}
tmpfs_size: 100
container_pid_limit: 512
installer_limits:
memory: 1024
cpu: 100
overhead:
override: false
default_multiplier: 1.05
multipliers: {}
use_performant_inspect: true
throttles:
enabled: true
lines: 2000
line_reset_interval: 1000
remote: {{remote}}
remote_query:
timeout: 30
boot_servers_per_page: 50
allowed_mounts: []
allowed_origins: []
allow_cors_private_network: false
pter.yml
View file @
4ea6b09c
...
@@ -4,25 +4,6 @@
...
@@ -4,25 +4,6 @@
tasks
:
tasks
:
-
name
:
set template
-
name
:
set template
set_fact
:
set_fact
:
config_content
:
debug
:
false
uuid
:
'
{{uuid}}'
token_id
:
'
{{token_id}}'
token
:
'
{{token}}'
api
:
host
:
0.0.0.0
port
:
'
{{https_port}}'
ssl
:
enabled
:
true
cert
:
'
/certs/fullchain.pem'
key
:
'
/certs/privkey.pem'
upload_limit
:
100
system
:
data
:
'
{{data_path}}'
sftp
:
bind_port
:
'
{{sftp_port}}'
allowed_mounts
:
[]
remote
:
'
{{remote}}'
docker_compose_content
:
docker_compose_content
:
version
:
'
2.4'
version
:
'
2.4'
services
:
services
:
...
@@ -38,14 +19,15 @@
...
@@ -38,14 +19,15 @@
-
./certs:/certs:ro
-
./certs:/certs:ro
-
./config.yml:/etc/pterodactyl/config.yml
-
./config.yml:/etc/pterodactyl/config.yml
-
'
{{data_path}}:{{data_path}}'
-
'
{{data_path}}:{{data_path}}'
-
/tmp/pterodactyl:/tmp/pterodactyl
-
name
:
directory
-
name
:
directory
file
:
file
:
path
:
'
{{ansible_user_dir}}/pterodactyl/certs'
path
:
'
{{ansible_user_dir}}/pterodactyl/certs'
state
:
directory
state
:
directory
recurse
:
true
recurse
:
true
-
name
:
config file
-
name
:
config file
copy
:
template
:
content
:
'
{{config_content
|
to_yaml}}'
src
:
./files/pter/config.yml.j2
dest
:
'
{{ansible_user_dir}}/pterodactyl/config.yml'
dest
:
'
{{ansible_user_dir}}/pterodactyl/config.yml'
notify
:
restart_pterodactyl
notify
:
restart_pterodactyl
-
name
:
docker-compose.yml
-
name
:
docker-compose.yml
...
...
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