mirror of https://github.com/statping/statping
Add missing volume declaration in docker-compose
Resolve the error when executing `docker-compose up -d`: `ERROR: Named volume "statping_data:/app:rw" is used in service "statping" but no declaration was found in the volumes section.` This adds the missing `volume` declaration to the `docker-compose.yaml` file.pull/539/head
parent
e4ed216833
commit
1fa226e338
|
@ -1,7 +1,6 @@
|
||||||
version: '2.3'
|
version: '2.3'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
statping:
|
statping:
|
||||||
container_name: statping
|
container_name: statping
|
||||||
image: statping/statping:latest
|
image: statping/statping:latest
|
||||||
|
@ -12,3 +11,6 @@ services:
|
||||||
DB_CONN: sqlite
|
DB_CONN: sqlite
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
statping_data:
|
||||||
|
|
Loading…
Reference in New Issue