Include full contents of all nested repositories
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
53
letsbe-ansible-runner/stacks/ghost/docker-compose.yml
Normal file
53
letsbe-ansible-runner/stacks/ghost/docker-compose.yml
Normal file
@@ -0,0 +1,53 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
ghost:
|
||||
container_name: {{ customer }}-ghost
|
||||
image: ghost:alpine
|
||||
restart: always
|
||||
ports:
|
||||
- "127.0.0.1:2368:2368"
|
||||
environment:
|
||||
# see https://ghost.org/docs/config/#configuration-options
|
||||
database__client: mysql
|
||||
database__connection__host: {{ customer }}-ghost-db
|
||||
database__connection__user: root
|
||||
database__connection__password: {{ ghost_mysql_password }}
|
||||
database__connection__database: ghost
|
||||
url: https://{{ domain_ghost }}
|
||||
volumes:
|
||||
- {{ customer }}-ghost-data:/var/lib/ghost/content
|
||||
- ./config.production.json:/var/lib/ghost/config.production.json
|
||||
networks:
|
||||
{{ customer }}-ghost:
|
||||
ipv4_address: 172.20.30.2
|
||||
depends_on:
|
||||
- ghost-db
|
||||
labels:
|
||||
- "diun.enable=true"
|
||||
|
||||
ghost-db:
|
||||
container_name: {{ customer }}-ghost-db
|
||||
image: mysql:8.0
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: {{ ghost_mysql_password }}
|
||||
MYSQL_DATABASE: ghost
|
||||
volumes:
|
||||
- {{ customer }}-ghost-db:/var/lib/mysql
|
||||
- {{ customer }}-ghost-backups:/tmp/backups
|
||||
networks:
|
||||
{{ customer }}-ghost:
|
||||
ipv4_address: 172.20.30.3
|
||||
|
||||
networks:
|
||||
{{ customer }}-ghost:
|
||||
driver: bridge
|
||||
ipam:
|
||||
config:
|
||||
- subnet: 172.20.30.0/28
|
||||
|
||||
volumes:
|
||||
{{ customer }}-ghost-data:
|
||||
{{ customer }}-ghost-db:
|
||||
{{ customer }}-ghost-backups:
|
||||
Reference in New Issue
Block a user