You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Propose Docker Compose V2 for bringing up containers
Attempting this with Docker Compose V1 (docker-compose in its latest
release 1.29.2) results in dockerize (the application container entry
point) failing to resolve the DB host. This gives gives the error
message
Waiting for tcp://mariadb:3306: dial tcp: lookup mariadb on
127.0.0.11:53: server misbehaving.
in the log of the application container makes it exit after a while.
Bringing up the containers with
$ docker compose up -d
works like a treat (with docker 25.0.2).
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -96,13 +96,13 @@ SteVe is designed to run standalone, a java servlet container / web server (e.g.
96
96
97
97
# Docker
98
98
99
-
If you prefer to build and start this project via docker (you can skip the steps 1, 4 and 5 from above), this can be done as follows: `docker-compose up -d`
99
+
If you prefer to build and start this project via docker (you can skip the steps 1, 4 and 5 from above), this can be done as follows: `dockercompose up -d`
100
100
101
-
Because the docker-compose file is written to build the project for you, you still have to change the project configuration settings from step 3.
101
+
Because the dockercompose file is written to build the project for you, you still have to change the project configuration settings from step 3.
102
102
Instead of changing the [main.properties in the prod directory](src/main/resources/config/prod/main.properties), you have to change the [main.properties in the docker directory](src/main/resources/config/docker/main.properties). There you have to change all configurations which are described in step 3.
103
-
The database password for the user "steve" has to be the same as you have configured it in the docker-compose file.
103
+
The database password for the user "steve" has to be the same as you have configured it in the dockercompose file.
104
104
105
-
With the default docker-compose configuration, the web interface will be accessible at: `http://localhost:8180`
105
+
With the default dockercompose configuration, the web interface will be accessible at: `http://localhost:8180`
0 commit comments