Comments (5)
It was last pushed three days ago, from what I can see: (on https://hub.docker.com/r/tianon/ehour/)
When I run it, I run with a custom properties file (because otherwise, the image is hard-coded to use mysql
as the DB host name, user
as the user, and pass
as the password) and a dedicated network for eHour and MySQL, something like this: (untested, but this is the gist of how I run it)
$ docker network create ehour
$ docker run -dit --name ehour-mysql --memory 512m --network ehour --network-alias mysql --stop-timeout 60 -v ehour-mysql:/var/lib/mysql -e MYSQL_RANDOM_ROOT_PASSWORD=1 -e MYSQL_USER=ehour -e MYSQL_PASSWORD=some-super-secure-random-string -e MYSQL_DATABASE=ehour mysql:5.7
$ cat ehour.properties
ehour.standalone.port=8000
ehour.database=mysql
ehour.database.url=mysql://ehour:some-super-secure-random-string@mysql:3306/ehour?zeroDateTimeBehavior=convertToNull&useOldAliasMetadataBehavior=true
ehour.database.checkouttimeout=2000
ehour.configurationType=DEPLOYMENT
ehour.translations=%ehour.home%/resources/i18n
ehour.database.cp=hikari
$ docker run -dit --name ehour --network ehour -v "$PWD/ehour.properties":/usr/local/ehour/home/conf/ehour.properties:ro tianon/ehour
I then use NGINX in front to deliver traffic from the host's port 80 to the eHour container's port 8000 for a particular hostname.
from dockerfiles.
Oh, right, and you'll also need to seed your database the first time you run it. I forgot about that bit -- the necessary SQL files are embedded into the image itself.
If you're getting a 503 when you access the server, you can use docker logs
on the container to discover what the error is.
from dockerfiles.
Ok, I've pushed a short adapted version of this both in Git and to Docker Hub. 👍
from dockerfiles.
Thanks for the extra information.
The push to DockerHub seems indeed to occur on a daily basis, but the last BUILD (under the tab "Build Details" happenned 5 months ago. I am not sure what is the mechanism for the automated build to occur, but I suspect something it broken with that regards.
Thanks
from dockerfiles.
from dockerfiles.
Related Issues (20)
- Speedtest Accept license HOT 3
- Can't launch steam image HOT 9
- Exim4 Implicit TLS HOT 1
- tianon/containerd: failed to mount /var/lib/containerd/tmpmounts/containerd-mount796827023: operation not permitted: unknown HOT 4
- exim4 docker image HOT 3
- Steam container runs DotA, but no sound HOT 4
- Handbrake Dockerfile fails because of missing GPG server pool DNS record HOT 3
- Question about the true.asm (can you shave one more byte off? :) ) HOT 5
- About docker in docker - how to make it work without parent sock file HOT 1
- Question: where to see Dockerfile for tianon/centos:6.5 HOT 1
- speedtest accept license HOT 2
- misleading docker hub documentation about /etc/mailname HOT 1
- can't locate the signal-desktop HOT 2
- Exim4 relay rejected for ipv6 host HOT 1
- ehour doesn't seem to be running HOT 3
- tianon/true stopped working after latest update HOT 4
- Request to support arm64 arch for toybox HOT 2
- sed: can't read .muttrc: No such file or directory HOT 7
- exim4: exim doesn't seem to obey retry rules HOT 1
- Steam image cannot launch steam twice HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dockerfiles.