-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added more vps services, added github readmes to college society proj…
…ects
- Loading branch information
Showing
12 changed files
with
308 additions
and
8 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
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
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,30 @@ | ||
# MySQL Database | ||
|
||
## Description | ||
|
||
This service is used to host a MySQL database for various applications and services. | ||
|
||
## Docker Compose File | ||
|
||
```yaml | ||
services: | ||
database: | ||
image: mysql:8.3.0 | ||
hostname: database | ||
container_name: database | ||
restart: unless-stopped | ||
environment: | ||
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD} | ||
ports: | ||
- "3306:3306" | ||
volumes: | ||
- mysql_data:/var/lib/mysql | ||
|
||
volumes: | ||
mysql_data: | ||
|
||
``` | ||
|
||
## Notes | ||
|
||
- Used across multiple containers |
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,52 @@ | ||
# Personal Website | ||
|
||
## Description | ||
|
||
*My personal portfolio website* | ||
|
||
|
||
### Tech Stack Used: | ||
- Svelte | ||
- TailwindCSS | ||
- Docker | ||
|
||
### Website Content & Features: | ||
- Contact Information | ||
- Recent Projects | ||
- Related Experience | ||
- Tech Stack | ||
|
||
## Docker Compose File | ||
|
||
```yaml | ||
services: | ||
portfolio-svelte: | ||
image: ghcr.io/cheeselad/portfolio-svelte:latest | ||
container_name: portfolio-svelte | ||
restart: unless-stopped | ||
labels: | ||
- "traefik.enable=true" | ||
- "traefik.http.routers.portfolio-svelte.entrypoints=https" | ||
- "traefik.http.routers.portfolio-svelte.rule=Host(`portfolio.jakefarrell.ie`)" | ||
- "traefik.http.routers.personal-site.entrypoints=https" | ||
- "traefik.http.routers.personal-site.rule=Host(`www.jakefarrell.ie`)" | ||
- "traefik.http.routers.personal-site-base-url.entrypoints=https" | ||
- "traefik.http.routers.personal-site-base-url.rule=Host(`jakefarrell.ie`)" | ||
|
||
watchtower-portfolio-svelte: | ||
image: containrrr/watchtower | ||
container_name: watchtower-portfolio-svelte | ||
restart: unless-stopped | ||
volumes: | ||
- /var/run/docker.sock:/var/run/docker.sock | ||
command: --interval 600 | ||
|
||
networks: | ||
default: | ||
name: traefik_net | ||
external: true | ||
``` | ||
## Notes | ||
- Access my Personal Website here: [`https://jakefarrell.ie`](https://jakefarrell.ie) |
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,58 @@ | ||
# Plausible Analytics | ||
|
||
## Docker Compose File | ||
|
||
```yaml | ||
services: | ||
plausible_db: | ||
image: postgres:14-alpine | ||
restart: unless-stopped | ||
volumes: | ||
- db-data:/var/lib/postgresql/data | ||
environment: | ||
- POSTGRES_PASSWORD=${PLAUSIBLE_DB_PASSWORD} | ||
|
||
plausible_events_db: | ||
image: clickhouse/clickhouse-server:24.3.3.102-alpine | ||
restart: unless-stopped | ||
volumes: | ||
- event-data:/var/lib/clickhouse | ||
- ./clickhouse/clickhouse-config.xml:/etc/clickhouse-server/config.d/logging.xml:ro | ||
- ./clickhouse/clickhouse-user-config.xml:/etc/clickhouse-server/users.d/logging.xml:ro | ||
ulimits: | ||
nofile: | ||
soft: 262144 | ||
hard: 262144 | ||
|
||
plausible: | ||
image: ghcr.io/plausible/community-edition:v2.1.1 | ||
container_name: plausible | ||
restart: unless-stopped | ||
command: sh -c "sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run" | ||
depends_on: | ||
- plausible_db | ||
- plausible_events_db | ||
env_file: | ||
- plausible-conf.env | ||
labels: | ||
- "traefik.enable=true" | ||
- "traefik.http.routers.plausible.entrypoints=https" | ||
- "traefik.http.routers.plausible.rule=Host(`plausible.jakefarrell.ie`)" | ||
- "traefik.http.services.plausible.loadbalancer.server.port=8000" | ||
|
||
volumes: | ||
db-data: | ||
driver: local | ||
event-data: | ||
driver: local | ||
|
||
networks: | ||
default: | ||
name: traefik_net | ||
external: true | ||
|
||
``` | ||
|
||
## Notes | ||
|
||
- Access Plausible Analytics here: [`https://plausible.jakefarrell.ie`](https://plausible.jakefarrell.ie) |
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,33 @@ | ||
# Portainer | ||
|
||
## Docker Compose File | ||
|
||
```yaml | ||
services: | ||
portainer: | ||
container_name: portainer | ||
hostname: portainer | ||
image: portainer/portainer-ce:latest | ||
volumes: | ||
- ./data:/data | ||
- /var/run/docker.sock:/var/run/docker.sock | ||
restart: unless-stopped | ||
labels: | ||
- "traefik.enable=true" | ||
- "traefik.http.routers.portainer.rule=Host(`portainer.jakefarrell.ie`)" | ||
- "traefik.http.routers.portainer.entrypoints=https" | ||
- "traefik.http.services.portainer.loadbalancer.server.port=9000" | ||
- "traefik.http.routers.portainer.service=portainer" | ||
|
||
volumes: | ||
data: | ||
|
||
networks: | ||
default: | ||
name: traefik_net | ||
external: true | ||
``` | ||
## Notes | ||
- Access Portainer here: [`https://portainer.jakefarrell.ie`](https://portainer.jakefarrell.ie) |
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,53 @@ | ||
# Shlink | ||
|
||
## Description | ||
|
||
Shlink is a self-hosted URL shortener that allows you to shorten URLs and serve them under your own domain. The application is built using PHP and MySQL and is designed to be lightweight and easy to use. | ||
|
||
## Docker Compose File | ||
|
||
```yaml | ||
services: | ||
shlink: | ||
image: shlinkio/shlink:stable | ||
restart: unless-stopped | ||
container_name: shlink | ||
environment: | ||
- TZ="Europe/Dublin" | ||
- DEFAULT_DOMAIN=s.jakefarrell.ie | ||
- IS_HTTPS_ENABLED=true | ||
- GEOLITE_LICENSE_KEY=${GEOLITE_LICENSE_KEY} | ||
- DB_DRIVER=mysql | ||
- DB_USER=${DB_USER} | ||
- DB_NAME=${DB_NAME} | ||
- DB_PASSWORD=${DB_PASSWORD} | ||
- DB_HOST=${DB_HOST} | ||
- SHELL_VERBOSITY=3 | ||
labels: | ||
- "traefik.enable=true" | ||
- "traefik.http.routers.shlink.entrypoints=https" | ||
- "traefik.http.routers.shlink.rule=Host(`s.jakefarrell.ie`)" | ||
|
||
shlink-web-client: | ||
image: shlinkio/shlink-web-client | ||
restart: unless-stopped | ||
container_name: shlink-web-client | ||
volumes: | ||
- ./servers.json:/usr/share/nginx/html/servers.json | ||
depends_on: | ||
- shlink | ||
labels: | ||
- "traefik.enable=true" | ||
- "traefik.http.routers.shlink-gui.entrypoints=https" | ||
- "traefik.http.routers.shlink-gui.rule=Host(`shlink.jakefarrell.ie`)" | ||
|
||
networks: | ||
default: | ||
name: traefik_net | ||
external: true | ||
|
||
``` | ||
|
||
## Notes | ||
|
||
- Access Shlink here: [`https://shlink.jakefarrell.ie`](https://shlink.jakefarrell.ie) |
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