mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2025-11-23 08:54:27 +01:00
cleanup repo
This commit is contained in:
3
examples/ghost/README.md
Normal file
3
examples/ghost/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# References
|
||||
|
||||
- https://github.com/TryGhost/Ghost
|
||||
41
examples/ghost/docker-compose-rpi-arm.yml
Normal file
41
examples/ghost/docker-compose-rpi-arm.yml
Normal file
@@ -0,0 +1,41 @@
|
||||
version: '3.3'
|
||||
|
||||
services:
|
||||
blog:
|
||||
image: ghost:5
|
||||
container_name: ghost
|
||||
restart: always
|
||||
ports:
|
||||
- 8080:2368
|
||||
volumes:
|
||||
- /mnt/docker-volumes/ghost/content:/var/lib/ghost/content
|
||||
environment:
|
||||
# see https://ghost.org/docs/config/#configuration-options
|
||||
database__client: mysql
|
||||
database__connection__host: database
|
||||
database__connection__user: ghost_dbuser
|
||||
database__connection__password: SecureDatabasePassword
|
||||
database__connection__database: ghost
|
||||
url: https://blog.example.com
|
||||
NODE_ENV: production
|
||||
#mail__transport: SMTP
|
||||
#mail__options__host: smtp.google.com
|
||||
#mail__options__port: 587
|
||||
#mail__options__auth__user: blog@example.com
|
||||
#mail__options__auth__pass: SecureSmtpPassword
|
||||
#mail__from: My Blog <blog@example.com>
|
||||
|
||||
database:
|
||||
image: linuxserver/mariadb
|
||||
container_name: ghost-db
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- MYSQL_ROOT_PASSWORD=SecureDatabaseRootPassword
|
||||
- TZ=Europe/Berlin
|
||||
- MYSQL_DATABASE=ghost
|
||||
- MYSQL_USER=ghost_dbuser
|
||||
- MYSQL_PASSWORD=SecureDatabasePassword
|
||||
volumes:
|
||||
- /mnt/docker-volumes/ghost/mariadb/config:/config
|
||||
restart: unless-stopped
|
||||
47
examples/ghost/docker-compose.yml
Normal file
47
examples/ghost/docker-compose.yml
Normal file
@@ -0,0 +1,47 @@
|
||||
version: '3.3'
|
||||
|
||||
services:
|
||||
blog:
|
||||
image: ghost:5
|
||||
container_name: ghost
|
||||
restart: always
|
||||
ports:
|
||||
- 8080:2368
|
||||
volumes:
|
||||
- /mnt/docker-volumes/ghost/content:/var/lib/ghost/content
|
||||
environment:
|
||||
# see https://ghost.org/docs/config/#configuration-options
|
||||
database__client: mysql
|
||||
database__connection__host: database
|
||||
database__connection__user: ghost
|
||||
database__connection__password: MyStrongDatabasePassword
|
||||
database__connection__database: ghost
|
||||
# url: https://blog.example.com # change this for production
|
||||
NODE_ENV: production
|
||||
#mail__transport: SMTP
|
||||
#mail__options__host: smtp.gmail.com
|
||||
#mail__options__port: 587
|
||||
#mail__options__auth__user: blog@example.com
|
||||
#mail__options__auth__pass: MyStrongSmtpLoginPassword
|
||||
#mail__from: Ghost Blog <blog@example.com>
|
||||
#labels:
|
||||
# - traefik.enable=true
|
||||
# - traefik.http.routers.ghost.rule=Host(`blog.example.com`)
|
||||
# - traefik.http.services.ghost.loadbalancer.server.port=2368
|
||||
# - traefik.docker.network=proxy
|
||||
# # Part for local lan services only
|
||||
# #- traefik.http.routers.ghost.middlewares=external-secure@file
|
||||
|
||||
database:
|
||||
image: mysql:8
|
||||
container_name: ghost_db
|
||||
restart: always
|
||||
volumes:
|
||||
- /mnt/docker-volumes/ghost/mysql:/var/lib/mysql
|
||||
#ports:
|
||||
# - "13928:3306"
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: AnotherStrongDatabasePasswordForRootUser
|
||||
MYSQL_DATABASE: ghost
|
||||
MYSQL_USER: ghost
|
||||
MYSQL_PASSWORD: MyStrongDatabasePassword
|
||||
Reference in New Issue
Block a user