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
e86759b4
Commit
e86759b4
authored
Feb 05, 2019
by
Cameron Carney
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated containers. New build process added
parent
9f0dece2
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
87 additions
and
41 deletions
+87
-41
.env.example
.env.example
+4
-1
bin/dev
bin/dev
+18
-0
docker-compose.extra.yml
docker-compose.extra.yml
+24
-25
docker-compose.yml
docker-compose.yml
+5
-11
manifest/daemon/Dockerfile
manifest/daemon/Dockerfile
+3
-1
manifest/docker-compose.dev.yml
manifest/docker-compose.dev.yml
+23
-0
manifest/panel/Dockerfile
manifest/panel/Dockerfile
+3
-1
manifest/sftp/Dockerfile
manifest/sftp/Dockerfile
+4
-2
manifest/version.txt
manifest/version.txt
+3
-0
No files found.
.env.example
View file @
e86759b4
...
@@ -51,4 +51,7 @@ DB_PASSWORD=pterodbpass
...
@@ -51,4 +51,7 @@ DB_PASSWORD=pterodbpass
MAIL_DRIVER=mail
MAIL_DRIVER=mail
MAIL_FROM=admin@localhost
MAIL_FROM=admin@localhost
MAIL_FROM_NAME="Pterodactyl Panel"
MAIL_FROM_NAME="Pterodactyl Panel"
\ No newline at end of file
DOCKER_ROOT=/var/lib/docker
DOCKER_SOCKET=/var/run/docker.sock
\ No newline at end of file
bin/dev
0 → 100755
View file @
e86759b4
#!/bin/sh
##
# dev - modifies docker-compose params to suit development needs
##
cd
"
$(
dirname
$0
)
/../"
# source versions from txt file
.
./manifest/version.txt
# Export Variables
export
PANEL_VERSION
export
DAEMON_VERSION
export
SFTP_VERSION
# Just pass everything to compose
docker-compose
-f
docker-compose.yml
-f
./manifest/docker-compose.dev.yml
$@
\ No newline at end of file
docker-compose.extra.yml
View file @
e86759b4
...
@@ -12,39 +12,38 @@
...
@@ -12,39 +12,38 @@
# run --rm certbot --webroot -w /etc/letsencrypt/webroot -d {domain}" and follow
# run --rm certbot --webroot -w /etc/letsencrypt/webroot -d {domain}" and follow
# the instructions on screen.
# the instructions on screen.
##
##
#
certbot:
certbot
:
#
command: renew
command
:
renew
# image:
certbot
image
:
certbot/
certbot
#
volumes:
volumes
:
#
- ./letsencrypt:/etc/letsencrypt
-
./letsencrypt:/etc/letsencrypt
# If you are using the certbot container, apply this to the panel container
# If you are using the certbot container, apply this to the panel container
#
panel:
panel
:
#
volumes:
volumes
:
#
- ./letsencrypt:/etc/letsencrypt
-
./letsencrypt:/etc/letsencrypt
#
- ./letsencrypt/webroot/.well-known:/var/www/html/public/.well-known
-
./letsencrypt/webroot/.well-known:/var/www/html/public/.well-known
##
##
# Seperate Worker Container
# Seperate Worker Container
# If you plan on using another container for handling all the workers and cronjobs,
# If you plan on using another container for handling all the workers and cronjobs,
# use these services and set DISABLE_WORKERS=true for the panel container
# use these services and set DISABLE_WORKERS=true for the panel container
##
##
# worker:
worker
:
# command: php /var/www/html/artisan queue:work database --queue=high,standard,low --sleep=3 --tries=3
command
:
php /var/www/html/artisan queue:work database --queue=high,standard,low --sleep=3 --tries=3
# env_file: .env
env_file
:
.env
# image: quay.io/ccarney/pterodactyl-panel:latest
image
:
quay.io/ccarney/pterodactyl-panel:latest
# restart: always
restart
:
always
# volumes_from:
volumes_from
:
# - panel
-
panel
# cron:
cron
:
# command: /usr/sbin/crond -f -l 0
command
:
/usr/sbin/crond -f -l
0
# env_file: .env
env_file
:
.env
# image: quay.io/ccarney/pterodactyl-panel:latest
image
:
quay.io/ccarney/pterodactyl-panel:latest
# restart: always
restart
:
always
# volumes_from:
volumes_from
:
# - panel
-
panel
sftp
:
sftp
:
build
:
context
:
./manifest/sftp
image
:
ccarney16/pterodactyl-sftp:v1.0.1
image
:
ccarney16/pterodactyl-sftp:v1.0.1
restart
:
always
restart
:
always
volumes_from
:
volumes_from
:
...
...
docker-compose.yml
View file @
e86759b4
##
##
# Pterodactyl Panel Docker Setup by ccarney
# Pterodactyl Panel Docker Setup by ccarney
##
##
version
:
'
2'
version
:
'
2
.1
'
services
:
services
:
##
##
# MariaDB (MySQL) Server
# MariaDB (MySQL) Server
...
@@ -31,14 +31,11 @@ services:
...
@@ -31,14 +31,11 @@ services:
# This is the main service that will be seen publically.
# This is the main service that will be seen publically.
##
##
panel
:
panel
:
build
:
context
:
./manifest/panel
dockerfile
:
Dockerfile
depends_on
:
depends_on
:
-
cache
-
cache
-
mysql
-
mysql
env_file
:
.env
env_file
:
.env
image
:
ccarney16/pterodactyl-panel:
v0.7.11
image
:
ccarney16/pterodactyl-panel:
latest
restart
:
always
restart
:
always
volumes
:
volumes
:
-
./data:/data
-
./data:/data
...
@@ -52,12 +49,9 @@ services:
...
@@ -52,12 +49,9 @@ services:
# you may comment/delete the section below.
# you may comment/delete the section below.
##
##
daemon
:
daemon
:
build
:
context
:
./manifest/daemon
dockerfile
:
Dockerfile
depends_on
:
depends_on
:
-
panel
-
panel
image
:
ccarney16/pterodactyl-daemon:
v0.6.8
image
:
ccarney16/pterodactyl-daemon:
latest
ports
:
ports
:
-
8080:8080
-
8080:8080
privileged
:
true
privileged
:
true
...
@@ -71,5 +65,5 @@ services:
...
@@ -71,5 +65,5 @@ services:
# Docker socket and directory, needed to communicate to docker
# Docker socket and directory, needed to communicate to docker
# NOTE: If you are using docker in a different directory, please change below to reflect that!
# NOTE: If you are using docker in a different directory, please change below to reflect that!
-
/var/lib/docker:/var/lib/docker
-
${DOCKER_ROOT:-/var/lib/docker}:${DOCKER_ROOT:-/var/lib/docker}
-
/var/run/docker.sock:/var/run/docker.sock
-
${DOCKER_SOCKET:-/var/run/docker.sock}:${DOCKER_SOCKET:-/var/run/docker.sock}
manifest/daemon/Dockerfile
View file @
e86759b4
...
@@ -2,7 +2,9 @@ FROM node:8-alpine
...
@@ -2,7 +2,9 @@ FROM node:8-alpine
MAINTAINER
Cameron Carney <ccarney16@live.com>
MAINTAINER
Cameron Carney <ccarney16@live.com>
ENV
DAEMON_VERSION=v0.6.8 \
ARG
VERSION
ENV
DAEMON_VERSION=${VERSION} \
UID=500
UID=500
WORKDIR
/srv/daemon
WORKDIR
/srv/daemon
...
...
manifest/docker-compose.dev.yml
0 → 100644
View file @
e86759b4
# Build services for dockerizing
version
:
'
2.1'
services
:
panel
:
build
:
args
:
VERSION
:
${PANEL_VERSION}
context
:
./manifest/panel
image
:
ccarney16/pterodactyl-panel:${PANEL_VERSION}
daemon
:
build
:
args
:
VERSION
:
${DAEMON_VERSION}
context
:
./manifest/daemon
image
:
ccarney16/pterodactyl-daemon:${DAEMON_VERSION}
sftp
:
build
:
args
:
VERSION
:
${SFTP_VERSION}
context
:
./manifest/sftp
image
:
ccarney16/pterodactyl-sftp:${SFTP_VERSION}
volumes_from
:
-
daemon
manifest/panel/Dockerfile
View file @
e86759b4
...
@@ -2,8 +2,10 @@ FROM alpine:edge
...
@@ -2,8 +2,10 @@ FROM alpine:edge
MAINTAINER
Cameron Carney <ccarney16@live.com>
MAINTAINER
Cameron Carney <ccarney16@live.com>
ARG
VERSION
ENV
STARTUP_TIMEOUT=5 \
ENV
STARTUP_TIMEOUT=5 \
PANEL_VERSION=
v0.7.11
PANEL_VERSION=
${VERSION}
WORKDIR
/var/www/html
WORKDIR
/var/www/html
...
...
manifest/sftp/Dockerfile
View file @
e86759b4
FROM
alpine:latest
FROM
alpine:latest
ENV
VERSION=v1.0.1 \
ARG
VERSION
ENV
SFTP_VERSION=${VERSION} \
UID=500
UID=500
RUN
mkdir
/srv/daemon
-p
;
\
RUN
mkdir
/srv/daemon
-p
;
\
wget
-P
/srv/daemon https://github.com/pterodactyl/sftp-server/releases/download/
${
VERSION
}
/sftp-server
;
\
wget
-P
/srv/daemon https://github.com/pterodactyl/sftp-server/releases/download/
${
SFTP_
VERSION
}
/sftp-server
;
\
chmod
+x /srv/daemon/sftp-server
;
\
chmod
+x /srv/daemon/sftp-server
;
\
addgroup
-S
-g
${
UID
}
pterodactyl
&&
adduser
-S
-D
-H
-G
pterodactyl
-u
${
UID
}
-s
/bin/false pterodactyl
addgroup
-S
-g
${
UID
}
pterodactyl
&&
adduser
-S
-D
-H
-G
pterodactyl
-u
${
UID
}
-s
/bin/false pterodactyl
...
...
manifest/version.txt
0 → 100644
View file @
e86759b4
PANEL_VERSION=v0.7.12
DAEMON_VERSION=v0.6.11
SFTP_VERSION=v1.0.4
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