Skip to content

Commit

Permalink
Adding Scratch Map
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottGibb committed Oct 28, 2024
1 parent 9465252 commit 53ef805
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 1 deletion.
1 change: 1 addition & 0 deletions PiHome/Apps/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
COMPOSE_PROJECT_NAME=apps
17 changes: 17 additions & 0 deletions PiHome/Apps/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---

version: "3"

services:
scratchmap:
container_name: scratchmap
image: ad3m3r5/scratch-map:latest
ports:
- "3000:3000"
environment:
DBLOCATION: '/data'
volumes:
- type: bind
source: /home/pi/docker-mounts/scratchmap
target: /data
restart: unless-stopped
2 changes: 1 addition & 1 deletion PiHome/Networking/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ services:
source: /home/pi/config/nginx/etc/nginx/templates
target: /etc/nginx/templates
- type: bind
source: /home/pi/config/nginx/etc/nginx/nginx.conf
source: /home/pi/Home-Lab-Containers/PiHome/Networking/nginx.conf
target: /etc/nginx/nginx.conf
ports:
- "80:80"
Expand Down
10 changes: 10 additions & 0 deletions PiHome/Networking/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,16 @@ http {


}
server {
listen 80;
server_name scratchmap.home;

location / {
proxy_pass http://192.168.0.68:3000;
}


}


}
4 changes: 4 additions & 0 deletions PiHome/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ For the Home Pi, the following docker stacks are enabled:

- utils
- iot
- networking
- apps
- security

1 change: 1 addition & 0 deletions PiHome/docker-compose.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ directories=(
"./Security/"
"./Networking/"
"./IOT/"
"./Apps/"
# "./Finances/"

)
Expand Down

0 comments on commit 53ef805

Please sign in to comment.