Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
D
docker-pterodactyl-legacy
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
docker-pterodactyl-legacy
Commits
d7eb5601
Commit
d7eb5601
authored
Aug 10, 2017
by
Cameron Carney
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated pterodactyl.conf generation
parent
421997d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
Dockerfile
Dockerfile
+1
-2
manifest/entrypoint.sh
manifest/entrypoint.sh
+11
-2
No files found.
Dockerfile
View file @
d7eb5601
...
@@ -2,8 +2,7 @@ FROM alpine:3.6
...
@@ -2,8 +2,7 @@ FROM alpine:3.6
MAINTAINER
Cameron Carney <ccarney16@live.com>
MAINTAINER
Cameron Carney <ccarney16@live.com>
ENV
CONFIG_FILE=/data/pterodactyl.conf \
ENV
STARTUP_TIMEOUT=5 \
STARTUP_TIMEOUT=5 \
PANEL_VERSION=v0.6.4
PANEL_VERSION=v0.6.4
WORKDIR
/var/www/html
WORKDIR
/var/www/html
...
...
manifest/entrypoint.sh
View file @
d7eb5601
...
@@ -32,10 +32,19 @@ function init {
...
@@ -32,10 +32,19 @@ function init {
function
startServer
{
function
startServer
{
# Initial setup
# Initial setup
if
[
!
-e
"
${
CONFIG_FILE
}
"
]
;
then
if
[
!
-e
"
/data/pterodactyl.conf
"
]
;
then
echo
"Running first time setup..."
echo
"Running first time setup..."
cp
-pr
.env.example
${
CONFIG_FILE
}
touch
/data/pterodactyl.conf
echo
"##"
>
/data/pterodactyl.conf
echo
"# Generated on:"
$(
date
+
"%B %d %Y, %H:%M:%S"
)
>>
/data/pterodactyl.conf
echo
"# This file was generated on first start and contains "
>>
/data/pterodactyl.conf
echo
"# the key for sensitive information. All panel configuration "
>>
/data/pterodactyl.conf
echo
"# can be done here using the normal method (NGINX not included!),"
>>
/data/pterodactyl.conf
echo
"# or using Docker's environment variables parameter."
>>
/data/pterodactyl.conf
echo
"##"
>>
/data/pterodactyl.conf
echo
""
>>
/data/pterodactyl.conf
echo
"APP_KEY=SomeRandomString3232RandomString"
>>
/data/pterodactyl.conf
sleep
5
sleep
5
...
...
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