Merge branch 'megan-portfolio' into 'main'
Megan portfolio See merge request Jafner/homelab!7
This commit is contained in:
commit
811a4c41f4
@ -1,21 +0,0 @@
|
||||
version: "3"
|
||||
services:
|
||||
cloudflare-ddns:
|
||||
image: oznu/cloudflare-ddns
|
||||
container_name: ddns_cloudflare-ddns
|
||||
logging:
|
||||
driver: loki
|
||||
options:
|
||||
loki-url: http://localhost:3100/loki/api/v1/push
|
||||
loki-batch-size: "50"
|
||||
loki-retries: "1"
|
||||
loki-timeout: "2s"
|
||||
keep-file: "true"
|
||||
|
||||
restart: "no"
|
||||
environment:
|
||||
- API_KEY=***REMOVED***
|
||||
- ZONE=jafner.net
|
||||
- SUBDOMAIN=*
|
||||
labels:
|
||||
- traefik.enable=false
|
1
homelab/server/config/ddns/.env
Normal file
1
homelab/server/config/ddns/.env
Normal file
@ -0,0 +1 @@
|
||||
DOCKER_DATA=/home/joey/data/ddns
|
40
homelab/server/config/ddns/docker-compose.yml
Normal file
40
homelab/server/config/ddns/docker-compose.yml
Normal file
@ -0,0 +1,40 @@
|
||||
version: "3"
|
||||
services:
|
||||
cloudflare:
|
||||
image: oznu/cloudflare-ddns
|
||||
container_name: ddns_cloudflare
|
||||
logging:
|
||||
driver: loki
|
||||
options:
|
||||
loki-url: http://localhost:3100/loki/api/v1/push
|
||||
loki-batch-size: "50"
|
||||
loki-retries: "1"
|
||||
loki-timeout: "2s"
|
||||
keep-file: "true"
|
||||
restart: "no"
|
||||
environment:
|
||||
- API_KEY=***REMOVED***
|
||||
- ZONE=jafner.net
|
||||
- SUBDOMAIN=*
|
||||
labels:
|
||||
- traefik.enable=false
|
||||
ddclient:
|
||||
image: linuxserver/ddclient
|
||||
container_name: ddns_ddclient
|
||||
logging:
|
||||
driver: loki
|
||||
options:
|
||||
loki-url: http://localhost:3100/loki/api/v1/push
|
||||
loki-batch-size: "50"
|
||||
loki-retries: "1"
|
||||
loki-timeout: "2s"
|
||||
keep-file: "true"
|
||||
restart: "no"
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=America/Los_Angeles
|
||||
volumes:
|
||||
- ${DOCKER_DATA}/ddclient:/config
|
||||
labels:
|
||||
- traefik.enable=false
|
2
homelab/server/config/megan-portfolio/.env
Normal file
2
homelab/server/config/megan-portfolio/.env
Normal file
@ -0,0 +1,2 @@
|
||||
DOCKER_DATA=/home/joey/data/megan-portfolio
|
||||
|
44
homelab/server/config/megan-portfolio/docker-compose.yml
Normal file
44
homelab/server/config/megan-portfolio/docker-compose.yml
Normal file
@ -0,0 +1,44 @@
|
||||
version: '3.1'
|
||||
|
||||
services:
|
||||
megan-portfolio:
|
||||
image: wordpress
|
||||
container_name: wordpress_megan-portfolio
|
||||
restart: "no"
|
||||
environment:
|
||||
WORDPRESS_DB_HOST: portfolio_db
|
||||
WORDPRESS_DB_USER: wordpress
|
||||
WORDPRESS_DB_PASSWORD: wordpress
|
||||
WORDPRESS_DB_NAME: wordpressdb
|
||||
volumes:
|
||||
- ${DOCKER_DATA}/html:/var/www/html
|
||||
labels:
|
||||
- traefik.http.routers.megan-portfolio.rule=Host(`meganmcdonough.art`)
|
||||
- traefik.http.routers.megan-portfolio.tls.certresolver=lets-encrypt
|
||||
- traefik.port=80
|
||||
networks:
|
||||
- web
|
||||
- portfolio
|
||||
depends_on:
|
||||
- portfolio_db
|
||||
|
||||
portfolio_db:
|
||||
image: mysql:5.7
|
||||
container_name: wordpress_portfolio-db
|
||||
restart: "no"
|
||||
networks:
|
||||
- portfolio
|
||||
environment:
|
||||
MYSQL_DATABASE: wordpressdb
|
||||
MYSQL_USER: wordpress
|
||||
MYSQL_PASSWORD: wordpress
|
||||
MYSQL_RANDOM_ROOT_PASSWORD: '1'
|
||||
volumes:
|
||||
- ${DOCKER_DATA}/db:/var/lib/mysql
|
||||
labels:
|
||||
- traefik.enable=false
|
||||
|
||||
networks:
|
||||
web:
|
||||
external: true
|
||||
portfolio:
|
Loading…
Reference in New Issue
Block a user