diff --git a/ghost.yaml b/ghost.yaml index f65fe08..a661c08 100644 --- a/ghost.yaml +++ b/ghost.yaml @@ -19,13 +19,16 @@ networks: - name: "{{ stack_internal_network }}" state: "{{ container_state }}" + mounts: + - target: /var/lib/mysql + source: "{{ stack_prefix_name }}ghost_db_data" - name: Run Ghost docker_container: name: "{{ stack_prefix_name }}ghost" recreate: true restart_policy: unless-stopped - image: docker.io/library/ghost:5.59-alpine + image: docker.io/library/ghost:5.59.1-alpine env: database__client: mysql database__connection__host: "{{ stack_prefix_name }}ghost-db"