Compare commits
2 Commits
2af3a99862
...
1e362410c1
18
docker_compose/farmOS/.gitignore
vendored
Normal file
18
docker_compose/farmOS/.gitignore
vendored
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
# SECRETS AND CREDENTIALS (NEVER COMMIT THESE)
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
# Environment variables (API keys, DB passwords, etc.)
|
||||||
|
.env
|
||||||
|
.env.*
|
||||||
|
!.env.example
|
||||||
|
|
||||||
|
# Local Development DBs (often contain real-ish data)
|
||||||
|
*.db
|
||||||
|
*.sqlite
|
||||||
|
dump.rdb
|
||||||
|
|
||||||
|
# Data
|
||||||
|
/keys
|
||||||
|
/sites
|
||||||
|
/db
|
||||||
40
docker_compose/farmOS/docker-compose.yaml
Normal file
40
docker_compose/farmOS/docker-compose.yaml
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
# farmOS - https://farmos.org/ - https://git.drupalcode.org/project/farm/-/blob/4.x/docker/docker-compose.production.yml?ref_type=heads
|
||||||
|
---
|
||||||
|
services:
|
||||||
|
farmOS-db:
|
||||||
|
container_name: farmOS-db
|
||||||
|
image: postgres:17
|
||||||
|
volumes:
|
||||||
|
- './db:/var/lib/postgresql/data'
|
||||||
|
environment:
|
||||||
|
# Set a strong password and optionally change the user/database name.
|
||||||
|
POSTGRES_USER: ${POSTGRES_USER}
|
||||||
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||||
|
POSTGRES_DB: ${POSTGRES_DB}
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
farmOS-www:
|
||||||
|
container_name: farmOS-www
|
||||||
|
depends_on:
|
||||||
|
- farmOS-db
|
||||||
|
# Update this to the latest stable version before deploying.
|
||||||
|
image: farmos/farmos:latest
|
||||||
|
volumes:
|
||||||
|
- './sites:/opt/drupal/web/sites'
|
||||||
|
- './keys:/opt/drupal/keys'
|
||||||
|
ports:
|
||||||
|
- '${FARMOS_HTTP_PORT}:80'
|
||||||
|
restart: unless-stopped
|
||||||
|
labels:
|
||||||
|
# Nginx Proxy Manager Automation
|
||||||
|
- "npm.proxy.domains=farm.wompmacho.com"
|
||||||
|
- "npm.proxy.host=${DOCKER_HOST_IP}"
|
||||||
|
- "npm.proxy.port=${FARMOS_HTTP_PORT}"
|
||||||
|
- "npm.proxy.scheme=http"
|
||||||
|
- "npm.proxy.ssl_verify=false"
|
||||||
|
- "npm.proxy.websockets=true"
|
||||||
|
- "npm.proxy.ssl.force=true"
|
||||||
|
- "npm.proxy.ssl.certificate.id=2"
|
||||||
|
#- "npm.proxy.advanced.config=location = / { return 301 /guacamole/; }"
|
||||||
|
# Pi-hole Automation (Point to Docker Host/Proxy IP)
|
||||||
|
- "pihole.custom-record=[[\"farm.wompmacho.com\", \"${DOCKER_HOST_IP}\"]]"
|
||||||
@@ -268,3 +268,8 @@
|
|||||||
href: "https://homelable.wompmacho.com/view?key=live"
|
href: "https://homelable.wompmacho.com/view?key=live"
|
||||||
target: _self
|
target: _self
|
||||||
description: homelable
|
description: homelable
|
||||||
|
- farmOS:
|
||||||
|
icon: https://cdn.fosstodon.org/accounts/avatars/109/321/909/625/316/786/original/763a2ed219103fd0.jpg
|
||||||
|
href: "https://farm.wompmacho.com/"
|
||||||
|
target: _self
|
||||||
|
description: farmOS
|
||||||
Reference in New Issue
Block a user