diff --git a/ghost/docker-compose.yml b/ghost/docker-compose.yml index df91bf3..61c988e 100644 --- a/ghost/docker-compose.yml +++ b/ghost/docker-compose.yml @@ -7,10 +7,10 @@ services: environment: url: https://read.knast.cc database__client: mysql - database__connection__host: localhost:3366 + database__connection__host: ghost_db database__connection__user: root database__connection__password: RJbhYNaCEB3fu8cbtkteetxTR5LtZjnPsqATGgPZ - database__connection__database: ghostdb + database__connection__database: ghost networks: - traefik - default @@ -26,17 +26,17 @@ services: - "traefik.http.routers.ghost.tls.certresolver=letsencr" ghost_db: + image: mysql:8 networks: - default - image: mysql:8 restart: unless-stopped command: --default-authentication-plugin=mysql_native_password environment: MYSQL_ROOT_PASSWORD: RJbhYNaCEB3fu8cbtkteetxTR5LtZjnPsqATGgPZ volumes: - /srv/ghost_mysql:/var/lib/mysql - ports: - - 3366:3306 + # ports: + # - 3366:3306 networks: traefik: