version: "3.3" services: ghost: image: rose-ash-ghost:latest depends_on: - db environment: url: https://sigyl.com:4000/ NODE_ENV: production volumes: - ghost-content:/var/lib/ghost/content networks: - appnet - externalnet secrets: - email - db-password db: image: mariadb:latest environment: FILE__MYSQL_ROOT_PASSWORD: /run/secrets/db-root-password MYSQL_USER: ghost FILE__MYSQL_PASSWORD: /run/secrets/db-password MYSQL_DATABASE: ghostdb volumes: - ghost-db:/var/lib/mysql networks: - appnet secrets: - db-password - db-root-password volumes: ghost-content: ghost-config: ghost-db: networks: appnet: driver: overlay externalnet: driver: overlay external: true secrets: email: file: ./.email db-password: file: ./.db-password db-root-password: file: ./.db-root-password