Skip to content

Commit

Permalink
prep repo for school assessment - temporary
Browse files Browse the repository at this point in the history
  • Loading branch information
undeadjess committed Oct 27, 2024
1 parent 990559e commit f123abe
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ app.get("/", (req, res) => {
" from IP address:",
req.ip
);
res.json({ types: ["servers", "proxys"] });
res.json({ types: ["servers"] });
});

app.get("/servers", (req, res) => {
Expand Down
28 changes: 14 additions & 14 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@ services:
networks:
- serverjars

web:
image: ghcr.io/undeadjess/serverjars-web:testing
restart: on-failure
container_name: serverjars-web
environment:
LISTEN_PORT: 3000
depends_on:
- api
labels:
- "traefik.enable=true"
- "traefik.http.routers.web.rule=PathPrefix(`/`)"
- "traefik.http.services.web.loadbalancer.server.port=3000"
networks:
- serverjars
# web:
# image: ghcr.io/undeadjess/serverjars-web:testing
# restart: on-failure
# container_name: serverjars-web
# environment:
# LISTEN_PORT: 3000
# depends_on:
# - api
# labels:
# - "traefik.enable=true"
# - "traefik.http.routers.web.rule=PathPrefix(`/`)"
# - "traefik.http.services.web.loadbalancer.server.port=3000"
# networks:
# - serverjars

fetcher:
image: ghcr.io/undeadjess/serverjars-fetcher:testing
Expand Down

0 comments on commit f123abe

Please sign in to comment.