This repository has been archived on 2025-07-31. You can view files and clone it, but cannot push or open issues or pull requests.
Files
jupiter-compose/ghost/docker-compose.yml
2024-09-08 16:20:14 +03:00

43 lines
1.1 KiB
YAML

services:
lab:
image: ghost
restart: unless-stopped
volumes:
- /home/nick/configs/ghost/lab/content:/var/lib/ghost/content
environment:
- url=https://blog.karaolidis.com
- database__client=mysql
- database__connection__host=lab-db
- database__connection__user=ghost
- database__connection__database=ghost
- database__connection__password=ghost
- mail__transport=SMTP
- mail__options__host=${SMTP_HOST}
- mail__options__port=${SMTP_PORT}
- mail__options__auth__user=${SMTP_USER}
- mail__options__auth__pass=${SMTP_PASSWORD}
- mail__from=${SMTP_FROM}
networks:
- default
- routing
depends_on:
- lab-db
user: 1000:1000
lab-db:
image: mysql
restart: unless-stopped
volumes:
- /home/nick/configs/ghost/lab/db:/var/lib/mysql
environment:
- MYSQL_USER=ghost
- MYSQL_DATABASE=ghost
- MYSQL_PASSWORD=ghost
- MYSQL_RANDOM_ROOT_PASSWORD=yes
user: 1000:1000
networks:
routing:
external: true
name: routing