Closed dudeisbrendan03 closed 6 years ago
what does docker logs cachet
show?
Same thing:
Initializing Cachet container ...
Attempting to connect to database ...
Table sessions exists! ...
Nothing to migrate.
Starting Cachet! ...
Configuration cache cleared!
Configuration cached successfully!
2018-08-16 14:22:30,918 WARN For [program:queue-worker], AUTO logging used for s
tderr_logfile without rollover, set maxbytes > 0 to avoid filling up filesystem
unintentionally
2018-08-16 14:22:30,923 INFO supervisord started with pid 61
2018-08-16 14:22:31,927 INFO spawned: 'nginx' with pid 64
2018-08-16 14:22:31,932 INFO spawned: 'php-fpm' with pid 65
2018-08-16 14:22:31,943 INFO spawned: 'queue-worker' with pid 66
[16-Aug-2018 14:22:32] NOTICE: fpm is running, pid 65
[16-Aug-2018 14:22:32] NOTICE: ready to handle connections
2018-08-16 14:22:33,111 INFO success: nginx entered RUNNING state, process has s
tayed up for > than 1 seconds (startsecs)
2018-08-16 14:22:33,111 INFO success: php-fpm entered RUNNING state, process has
stayed up for > than 1 seconds (startsecs)
2018-08-16 14:22:33,111 INFO success: queue-worker entered RUNNING state, proces
s has stayed up for > than 1 seconds (startsecs)
Hmm it looks like the manual container run doc is missing the port expose switch. Try adding the following to your docker run
:
-p 80:8000
Give it a go, I'll message back in a second
Still isn't working. Before I just exposed it after deployment
Forget that, it's up now - just restarted it again. Thanks for pointing that out, have a great day!
Docker logs:
Can't connect on 8000 or 80:
Deployed with docker run:
docker run -d --name cachet --link postgres -e DB_DRIVER=pgsql -e DB_HOST=postgres -e DB_DATABASE=REMOVED -e DB_USERNAME=postgres -e DB_PASSWORD=postgres -e APP_KEY=REMOVED -h sub.hotname.tld -d cachethq/docker:latest
Greeted by unable to reach page, and I cant connect using localhost or the hostname.
Ideas? Thanks in advance