diff --git a/0-docker-traefik-with-database/docker-compose.yml b/0-docker-traefik-with-database/docker-compose.yml index 94b455e..85772fd 100644 --- a/0-docker-traefik-with-database/docker-compose.yml +++ b/0-docker-traefik-with-database/docker-compose.yml @@ -93,6 +93,12 @@ services: - '${DB_USERNAME}' retries: 3 timeout: 5s + gotenberg: + image: gotenberg/gotenberg:8 + networks: + - internal + healthcheck: + test: [ "CMD", "curl", "--silent", "--fail", "http://localhost:3000/health" ] networks: frontend: name: ${REVERSE_PROXY_NETWORK} diff --git a/0-docker-traefik-with-database/laravel.env.example b/0-docker-traefik-with-database/laravel.env.example index 67e04a5..6746b48 100644 --- a/0-docker-traefik-with-database/laravel.env.example +++ b/0-docker-traefik-with-database/laravel.env.example @@ -39,3 +39,6 @@ QUEUE_CONNECTION="database" # File storage FILESYSTEM_DISK="local" PUBLIC_FILESYSTEM_DISK="public" + +# Services +GOTENBERG_URL="http://gotenberg:3000" diff --git a/1-docker-with-database/docker-compose.yml b/1-docker-with-database/docker-compose.yml index 07bda6e..e30d910 100644 --- a/1-docker-with-database/docker-compose.yml +++ b/1-docker-with-database/docker-compose.yml @@ -81,6 +81,12 @@ services: - '${DB_USERNAME}' retries: 3 timeout: 5s + gotenberg: + image: gotenberg/gotenberg:8 + networks: + - internal + healthcheck: + test: [ "CMD", "curl", "--silent", "--fail", "http://localhost:3000/health" ] networks: internal: volumes: diff --git a/1-docker-with-database/laravel.env.example b/1-docker-with-database/laravel.env.example index 4a54d93..65cecdf 100644 --- a/1-docker-with-database/laravel.env.example +++ b/1-docker-with-database/laravel.env.example @@ -41,3 +41,6 @@ QUEUE_CONNECTION="database" # File storage FILESYSTEM_DISK="local" PUBLIC_FILESYSTEM_DISK="public" + +# Services +GOTENBERG_URL="http://gotenberg:3000"