Reformat compose files
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -1,38 +1,36 @@
|
||||
version: '3.9'
|
||||
|
||||
services:
|
||||
ghost:
|
||||
image: ghost
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /home/nick/configs/ghost/content:/var/lib/ghost/content
|
||||
environment:
|
||||
url: https://blog.karaolidis.com
|
||||
database__client: mysql
|
||||
database__connection__host: db
|
||||
database__connection__user: ghost
|
||||
database__connection__database: ghost
|
||||
database__connection__password: ghost
|
||||
networks:
|
||||
- default
|
||||
- routing
|
||||
depends_on:
|
||||
- db
|
||||
user: 1000:1000
|
||||
ghost:
|
||||
image: ghost
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /home/nick/configs/ghost/content:/var/lib/ghost/content
|
||||
environment:
|
||||
- url=https://blog.karaolidis.com
|
||||
- database__client=mysql
|
||||
- database__connection__host=db
|
||||
- database__connection__user=ghost
|
||||
- database__connection__database=ghost
|
||||
- database__connection__password=ghost
|
||||
networks:
|
||||
- default
|
||||
- routing
|
||||
depends_on:
|
||||
- db
|
||||
user: 1000:1000
|
||||
|
||||
db:
|
||||
image: mysql
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /home/nick/configs/ghost/db:/var/lib/mysql
|
||||
environment:
|
||||
MYSQL_USER: ghost
|
||||
MYSQL_DATABASE: ghost
|
||||
MYSQL_PASSWORD: ghost
|
||||
MYSQL_RANDOM_ROOT_PASSWORD: yes
|
||||
user: 1000:1000
|
||||
db:
|
||||
image: mysql
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /home/nick/configs/ghost/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
|
||||
routing:
|
||||
external: true
|
||||
name: routing
|
||||
|
Reference in New Issue
Block a user