Add ghost photo portfolio
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -1,13 +1,13 @@
|
|||||||
services:
|
services:
|
||||||
lab:
|
blog:
|
||||||
image: ghost
|
image: ghost
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- /home/nick/configs/ghost/lab/content:/var/lib/ghost/content
|
- /home/nick/configs/ghost/blog/content:/var/lib/ghost/content
|
||||||
environment:
|
environment:
|
||||||
- url=https://blog.karaolidis.com
|
- url=https://blog.karaolidis.com
|
||||||
- database__client=mysql
|
- database__client=mysql
|
||||||
- database__connection__host=lab-db
|
- database__connection__host=blog-db
|
||||||
- database__connection__user=ghost
|
- database__connection__user=ghost
|
||||||
- database__connection__database=ghost
|
- database__connection__database=ghost
|
||||||
- database__connection__password=ghost
|
- database__connection__password=ghost
|
||||||
@@ -21,14 +21,51 @@ services:
|
|||||||
- default
|
- default
|
||||||
- routing
|
- routing
|
||||||
depends_on:
|
depends_on:
|
||||||
- lab-db
|
- blog-db
|
||||||
user: 1000:1000
|
user: 1000:1000
|
||||||
|
|
||||||
lab-db:
|
blog-db:
|
||||||
image: mysql
|
image: mysql
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- /home/nick/configs/ghost/lab/db:/var/lib/mysql
|
- /home/nick/configs/ghost/blog/db:/var/lib/mysql
|
||||||
|
environment:
|
||||||
|
- MYSQL_USER=ghost
|
||||||
|
- MYSQL_DATABASE=ghost
|
||||||
|
- MYSQL_PASSWORD=ghost
|
||||||
|
- MYSQL_RANDOM_ROOT_PASSWORD=yes
|
||||||
|
user: 1000:1000
|
||||||
|
|
||||||
|
photos:
|
||||||
|
image: ghost
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- /home/nick/configs/ghost/photos/content:/var/lib/ghost/content
|
||||||
|
environment:
|
||||||
|
- url=https://photos.karaolidis.com
|
||||||
|
- database__client=mysql
|
||||||
|
- database__connection__host=photos-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:
|
||||||
|
- photos-db
|
||||||
|
user: 1000:1000
|
||||||
|
|
||||||
|
photos-db:
|
||||||
|
image: mysql
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- /home/nick/configs/ghost/photos/db:/var/lib/mysql
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_USER=ghost
|
- MYSQL_USER=ghost
|
||||||
- MYSQL_DATABASE=ghost
|
- MYSQL_DATABASE=ghost
|
||||||
|
Reference in New Issue
Block a user