This repository has been archived by the owner on Feb 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated Structure, Updated Versions, Removed Shell Hack, Changed Init…
… Structure
- Loading branch information
Showing
43 changed files
with
60 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
FROM maxexcloo/nginx-php:latest | ||
MAINTAINER Max Schaefer <max@excloo.com> | ||
ADD init /config/init/04koken | ||
ADD config /config |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
FROM debian:latest | ||
MAINTAINER Max Schaefer <max@excloo.com> | ||
ADD etc /etc | ||
CMD /config/loop | ||
ENV DEBIAN_FRONTEND noninteractive | ||
RUN useradd -u 500 core | ||
RUN apt-get update | ||
RUN apt-get upgrade -y | ||
RUN apt-get install -y ca-certificates inotify-tools nano pwgen supervisor tmux unzip wget | ||
RUN apt-get install -y ca-certificates inotify-tools nano pwgen supervisor unrar unzip wget | ||
RUN apt-get clean | ||
ADD init /config/init/01debian | ||
RUN mkdir /config /data | ||
RUN useradd -u 500 core | ||
ADD init /config/init01 | ||
ADD loop /config/loop | ||
RUN chmod +x /config/loop | ||
RUN mkdir -p /config/data /config/init /data /var/log/supervisor | ||
CMD /config/loop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,5 @@ | ||
#!/bin/bash | ||
if [ "$(ls -A /config/init)" ]; then | ||
for init in /config/init/*; do | ||
bash "$init" | ||
done | ||
fi | ||
if tty -s; then | ||
supervisord | ||
while true; do | ||
echo "Exit supervisorctl with Ctrl-D. Detach with Ctrl-P + Ctrl-Q." | ||
supervisorctl | ||
echo "Exit shell with Ctrl-D. Detach with Ctrl-P + Ctrl-Q." | ||
bash | ||
done | ||
fi | ||
for init in /config/init*; do | ||
bash "$init" | ||
done | ||
supervisord -n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
FROM ubuntu:latest | ||
MAINTAINER Max Schaefer <max@excloo.com> | ||
ADD etc /etc | ||
CMD /config/loop | ||
ENV DEBIAN_FRONTEND noninteractive | ||
RUN useradd -u 500 core | ||
RUN apt-get update | ||
RUN apt-get upgrade -y | ||
RUN apt-get install -y ca-certificates inotify-tools nano pwgen supervisor tmux unzip wget | ||
RUN apt-get install -y ca-certificates inotify-tools nano pwgen supervisor unrar unzip wget | ||
RUN apt-get clean | ||
ADD init /config/init/01ubuntu | ||
RUN mkdir /config /data | ||
RUN useradd -u 500 core | ||
ADD init /config/init01 | ||
ADD loop /config/loop | ||
RUN chmod +x /config/loop | ||
RUN mkdir -p /config/data /config/init /data /var/log/supervisor | ||
CMD /config/loop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,5 @@ | ||
#!/bin/bash | ||
if [ "$(ls -A /config/init)" ]; then | ||
for init in /config/init/*; do | ||
bash "$init" | ||
done | ||
fi | ||
if tty -s; then | ||
supervisord | ||
while true; do | ||
echo "Exit supervisorctl with Ctrl-D. Detach with Ctrl-P + Ctrl-Q." | ||
supervisorctl | ||
echo "Exit shell with Ctrl-D. Detach with Ctrl-P + Ctrl-Q." | ||
bash | ||
done | ||
fi | ||
for init in /config/init*; do | ||
bash "$init" | ||
done | ||
supervisord -n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
frameworks/nginx/config/init/02nginx → frameworks/nginx/config/init02
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
mkdir -p /data/config /data/http /data/logs /data/secure | ||
chown -R core:core /data | ||
chmod 0770 /data/secure |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
daemon off; | ||
pid /var/run/nginx.pid; | ||
user www-data; | ||
user core; | ||
worker_processes auto; | ||
|
||
events { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
FROM maxexcloo/debian:latest | ||
MAINTAINER Max Schaefer <max@excloo.com> | ||
ENV PATH $PATH:/opt/nodejs/bin | ||
ENV VERSION v0.10.31 | ||
RUN mkdir -p /opt/nodejs | ||
ENV VERSION v0.10.32 | ||
RUN mkdir /opt/nodejs | ||
RUN wget -O - "http://www.nodejs.org/dist/${VERSION}/node-${VERSION}-linux-x64.tar.gz" | tar --directory=/opt/nodejs --strip-components=1 -x -z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
FROM maxexcloo/debian:latest | ||
MAINTAINER Max Schaefer <max@excloo.com> | ||
RUN apt-get install -y dnsmasq iptables | ||
ADD config /config | ||
ADD etc /etc | ||
ADD init /config/init/03dnsmasq | ||
ADD supervisord.conf /etc/supervisor/conf.d/dnsmasq.conf | ||
EXPOSE 53 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
mkdir -p /data/dnsmasq /data/iptables | ||
touch /data/iptables/iptables.rules | ||
touch /data/iptables/iptables |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,5 @@ no-poll | |
no-resolv | ||
server=8.8.8.8 | ||
server=8.8.4.4 | ||
user=daemon | ||
user=core | ||
conf-dir=/data/dnsmasq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
[program:docker-gen] | ||
command=docker-gen -only-exposed -watch /config/data/haproxy.tmpl /data/haproxy.cfg | ||
command=docker-gen -only-exposed -watch /config/haproxy.tmpl /data/haproxy.cfg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
mkdir -p /data/sniproxy /data/iptables | ||
touch /data/sniproxy/sniproxy.conf /data/iptables/iptables |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
FROM maxexcloo/java:latest | ||
MAINTAINER Max Schaefer <max@excloo.com> | ||
ENV MEMORY 256 | ||
ENV VERSION 4.9 | ||
ENV VERSION 5.0 | ||
apt-get install -y ffmpeg lame | ||
ADD init /config/init/03subsonic | ||
ADD config /config | ||
ADD supervisord.conf /etc/supervisor/conf.d/subsonic.conf | ||
EXPOSE 4040 |
File renamed without changes.