mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
feat: Add extensive collection of application blueprints with Docker Compose configurations
This commit is contained in:
28
blueprints/ghost/docker-compose.yml
Normal file
28
blueprints/ghost/docker-compose.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
ghost:
|
||||
image: ghost:5-alpine
|
||||
restart: always
|
||||
environment:
|
||||
database__client: mysql
|
||||
database__connection__host: db
|
||||
database__connection__user: root
|
||||
database__connection__password: example
|
||||
database__connection__database: ghost
|
||||
url: http://${GHOST_HOST}
|
||||
|
||||
volumes:
|
||||
- ghost:/var/lib/ghost/content
|
||||
|
||||
db:
|
||||
image: mysql:8.0
|
||||
restart: always
|
||||
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: example
|
||||
volumes:
|
||||
- db:/var/lib/mysql
|
||||
|
||||
volumes:
|
||||
ghost:
|
||||
db:
|
||||
BIN
blueprints/ghost/ghost.jpeg
Normal file
BIN
blueprints/ghost/ghost.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
13
blueprints/ghost/template.yml
Normal file
13
blueprints/ghost/template.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
variables:
|
||||
main_domain: ${randomDomain}
|
||||
|
||||
config:
|
||||
domains:
|
||||
- serviceName: ghost
|
||||
port: 2368
|
||||
host: ${main_domain}
|
||||
|
||||
env:
|
||||
- GHOST_HOST=${main_domain}
|
||||
|
||||
mounts: []
|
||||
Reference in New Issue
Block a user