1
0
Fork 0

first commit

This commit is contained in:
leo 2022-09-02 14:13:51 +02:00
commit 70b6943fc4
4 changed files with 53 additions and 0 deletions

8
README.md Normal file
View file

@ -0,0 +1,8 @@
# Docker Container Templates
Repository for ready-to-go Services running in docker containers via docker-compose.
#### requirements:
- installed system with docker-compose
- access to /services, most services will be running there

3
ghost_blog/.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
.env*
content/
mysql/

11
ghost_blog/README.md Normal file
View file

@ -0,0 +1,11 @@
# Docker Container for running Ghost blog
https://ghost.org
#### requirements:
- /services/ghost created, copy docker-compose.yaml to this.
- customized .env file

View file

@ -0,0 +1,31 @@
version: '3.3'
services:
ghost:
image: ghost:latest
container_name: ghost_site
restart: always
depends_on:
- db
ports:
- 8080:2368
environment:
url: ${URL}
database__client: mysql
database__connection__host: db
database__connection__user: ${database__connection__user}
database__connection__password: ${database__connection__password}
database__connection__database: ${database__connection__database}
volumes:
- /services/ghost/content:/var/lib/ghost/content
db:
image: mariadb:latest
container_name: ghost_db
restart: always
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
MYSQL_USER: ${MYSQL_USER}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
MYSQL_DATABASE: ${MYSQL_DATABASE}
volumes:
- /services/ghost/mysql:/var/lib/mysql