Commit 22266767 authored by Cameron Carney's avatar Cameron Carney

Updated panel:v0.7.11; daemon:v0.6.8; added sftp:v1.0.1

parent 941cdde2
......@@ -41,4 +41,11 @@
# image: quay.io/ccarney/pterodactyl-panel:latest
# restart: always
# volumes_from:
# - panel
\ No newline at end of file
# - panel
sftp:
build:
context: ./manifest/sftp
image: ccarney16/pterodactyl-sftp:v1.0.1
restart: always
volumes_from:
- daemon
\ No newline at end of file
......@@ -38,7 +38,7 @@ services:
- cache
- mysql
env_file: .env
image: ccarney16/pterodactyl-panel:v0.7.10
image: ccarney16/pterodactyl-panel:v0.7.11
restart: always
volumes:
- ./data:/data
......@@ -57,7 +57,7 @@ services:
dockerfile: Dockerfile
depends_on:
- panel
image: ccarney16/pterodactyl-daemon:v0.6.5
image: ccarney16/pterodactyl-daemon:v0.6.8
ports:
- 8080:8080
privileged: true
......
......@@ -2,7 +2,8 @@ FROM node:8-alpine
MAINTAINER Cameron Carney <ccarney16@live.com>
ENV DAEMON_VERSION=v0.6.5
ENV DAEMON_VERSION=v0.6.8 \
UID=500
WORKDIR /srv/daemon
......@@ -12,7 +13,7 @@ RUN \
&& 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 \
&& addgroup -S -g ${UID} pterodactyl && adduser -S -D -H -G pterodactyl -u ${UID} -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/*
......
......@@ -3,7 +3,7 @@ FROM alpine:edge
MAINTAINER Cameron Carney <ccarney16@live.com>
ENV STARTUP_TIMEOUT=5 \
PANEL_VERSION=v0.7.10
PANEL_VERSION=v0.7.11
WORKDIR /var/www/html
......
FROM alpine:latest
ENV VERSION=v1.0.1 \
UID=500
RUN mkdir /srv/daemon -p; \
wget -P /srv/daemon https://github.com/pterodactyl/sftp-server/releases/download/${VERSION}/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
EXPOSE 2022
WORKDIR /srv/daemon
ENTRYPOINT [ "./sftp-server" ]
CMD [ "-port", "2022" ]
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment