Mise à jour de 'Blog Ghost'
... | ... | @@ -6,3 +6,48 @@ docker run -d \ |
-v /home/aerya/docker/blog/ghost:/var/lib/ghost/content \ | ||
--label=com.centurylinklabs.watchtower.enable=true \ | ||
ghost:latest | ||
version: '3.1' | ||
services: | ||
ghost: | ||
container_name: blogghost | ||
image: ghost:latest | ||
restart: always | ||
ports: | ||
- 772:2368 | ||
volumes: | ||
- /home/aerya/docker/blog/ghost/content:/var/lib/ghost/content | ||
environment: | ||
url: https://upandclear.org | ||
database__client: mysql | ||
database__connection__host: db | ||
database__connection__user: root | ||
database__connection__password: xxx | ||
database__connection__database: xxx | ||
mail__transport: SMTP | ||
mail__from: [email protected] | ||
mail__options__service: SMTP | ||
mail__options__host: xxx | ||
mail__options__port: 465 | ||
mail__options__auth__user: xxx | ||
mail__options__auth__pass: `xxx` | ||
labels: | ||
- "com.centurylinklabs.watchtower.enable=true" | ||
- swag=enable | ||
- swag_address=10.0.4.64 | ||
- swag_proto=http | ||
- swag_port=772 | ||
- swag_url=upandclear.org | ||
depends_on: | ||
- db | ||
db: | ||
container_name: blogghost_db | ||
image: mysql:8-debian | ||
restart: always | ||
environment: | ||
MYSQL_ROOT_PASSWORD: xxx | ||
volumes: | ||
- /home/aerya/docker/blog/ghost/db:/var/lib/mysql |
Please register or sign in to comment