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
Emanuel Bennici 2020-04-27 12:01:32 +02:00
parent e4ed216833
commit 1fa226e338
No known key found for this signature in database
GPG Key ID: 17FA2D56BAD01661
1 changed files with 3 additions and 1 deletions

View File

@ -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: