Skip to content

Commit

Permalink
fix docker
Browse files Browse the repository at this point in the history
  • Loading branch information
loan-mgt committed Sep 5, 2024
1 parent a94f0ba commit d063278
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
services:
api:
build: .
container_name: api
ports:
- "8080:8080"
environment:
- MYCPE_USERNAME=${MYCPE_USERNAME}
- MYCPE_PASSWORD=${MYCPE_PASSWORD}

nginx:
image: ghcr.io/loan-mgt/10m-caching:latest
container_name: nginx
ports:
- "80:80"
depends_on:
- api
environment:
- API_HOST=api:8080 # Pass the API host and port as an environment variable
2 changes: 1 addition & 1 deletion static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ <h2>The best way to stay up-to-date with your schedule using your personal calen
<h2 id="available">Available Calendars</h2>
<ul>
<li>
<label data-link="/ics/3irc.ics">3IRC</label>
<label data-link="/3irc.ics">3IRC</label>
<button onclick="copyLink(this)">Copy link</button>
</li>
</ul>
Expand Down

0 comments on commit d063278

Please sign in to comment.