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
c66cd8e5
Commit
c66cd8e5
authored
Apr 14, 2018
by
Cameron Carney
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
readded certbot; daemon dockerfile creates pterodactyl user
parent
9a36b9b1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
13 deletions
+22
-13
docker-compose.yml
docker-compose.yml
+21
-4
manifest/daemon/Dockerfile
manifest/daemon/Dockerfile
+1
-9
No files found.
docker-compose.yml
View file @
c66cd8e5
...
...
@@ -15,16 +15,31 @@ services:
image
:
mariadb:10.2
restart
:
always
volumes
:
-
./
mysql_
db:/var/lib/mysql
-
./db:/var/lib/mysql
##
# Let's Encrypt Certbot
# This service provides free SSL certificates that can
# be used to connect to the world. Uncomment if you
# are using the panel on its own (without a reverse
# proxy). It is recommended to use the webroot
# plugin. To get a certificate, run
# "docker-compose run --rm certbot --webroot -w
# /etc/letsencrypt/webroot -d {domain}" and follow
# the instructions on screen.
##
# certbot:
# command: renew
# image: certbot
# volumes:
# - ./letsencrypt:/etc/letsencrypt
# Panel Cache
# This service is required for the panel to function.
# You can use either redis or memcached, but redis
# is provided by default here.
##
cache
:
container_name
:
pterodactyl-cache
image
:
redis:alpine
restart
:
always
...
...
@@ -36,7 +51,6 @@ services:
build
:
context
:
./manifest/panel
dockerfile
:
Dockerfile
container_name
:
pterodactyl-panel
depends_on
:
-
cache
-
mysql
...
...
@@ -45,6 +59,10 @@ services:
restart
:
always
volumes
:
-
./data:/data
# If you are using the certbot container, uncomment the following volumes
# - ./letsencrypt:/etc/letsencrypt
# - ./letsencrypt/webroot/.well-known:/var/www/html/public/.well-known
ports
:
-
80:80
-
443:443
...
...
@@ -58,7 +76,6 @@ services:
build
:
context
:
./manifest/daemon
dockerfile
:
Dockerfile
container_name
:
pterodactyl-daemon
depends_on
:
-
panel
image
:
quay.io/ccarney/pterodactyl-daemon:v0.5.0-beta
...
...
manifest/daemon/Dockerfile
View file @
c66cd8e5
...
...
@@ -6,21 +6,13 @@ ENV DAEMON_VERSION=v0.5.5
WORKDIR
/srv/daemon
# Sadly everything has to be in one line to ensure that the image stays small...
##
# Put it as this:
# update alpine repos and install the required building tools
# Download Daemon
# Install the Daemon's dependencies
# Delete the build tools (gcc, python, etc)
# Purge Cache
##
RUN
\
apk
--update
--no-cache
add coreutils curl openssl make gcc g++ python gnupg
tar
\
&&
curl
-Lo
daemon.tar.gz https://github.com/Pterodactyl/Daemon/archive/
${
DAEMON_VERSION
}
.tar.gz
\
&&
tar
--strip-components
=
1
-xzvf
daemon.tar.gz
\
&&
rm
-f
daemon.tar.gz
\
&&
npm
install
--production
\
&&
addgroup
-S
-g
500 pterodactyl
&&
adduser
-S
-D
-H
-G
pterodactyl
-u
500
-s
/bin/false pterodactyl
\
&&
apk del curl make gcc g++ python gnupg
\
&&
rm
-rf
/root/.npm /root/.node-gyp /root/.gnupg
\
/var/cache/apk/
*
/tmp/
*
...
...
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