Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ services:


portainer:
image: portainer/portainer
image: portainer/portainer-ce
container_name: "portainer-app"
networks:
- inside
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /tmp/portainer/data:/data
command: --host=unix:///var/run/docker.sock --logo "https://i.imgur.com/kfi99Po.png" --templates "http://templates/templates.yml"
command: --host=unix:///var/run/docker.sock --logo "https://i.imgur.com/kfi99Po.png" --templates "http://templates/templates.json"

labels:
- "traefik.frontend.rule=PathPrefixStrip:/portainer"
Expand All @@ -82,4 +82,4 @@ volumes:
files:
networks:
inside:
external: false
external: false
2 changes: 1 addition & 1 deletion redcloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# DOCKER_COMPOSE_INSTALL = "curl -L https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose"
DOCKER_COMPOSE_INSTALL = "curl -L https://github.com/docker/compose/releases/download/1.22.0/docker-compose-{u_s}-{u_m} -o /usr/local/bin/docker-compose"
DOCKER_COMPOSE_INSTALL2 = "chmod +x /usr/local/bin/docker-compose"
REDCLOUD_INSTALL_GIT = "git clone https://github.com/khast3x/redcloud.git"
REDCLOUD_INSTALL_GIT = "git clone https://github.com/welikechips/redcloud.git"
REDCLOUD_INSTALL_SCP = "scp -r ../redcloud {target}:~/"
SSH_OR = " || echo \"error\""
GET_IP = "curl -4 -s icanhazip.com"
Expand Down
4 changes: 2 additions & 2 deletions templates/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM aikain/simplehttpserver:0.1
COPY templates.yml /var/www/
COPY templates.json /var/www/

CMD python3 -m http.server 80
CMD python3 -m http.server 80
Loading