Add service with volume in local dev stack sample

This commit is contained in:
Einar Forselv 2020-03-08 14:51:15 +01:00
parent cf668e2153
commit 3aa0704045
1 changed files with 5 additions and 0 deletions

View File

@ -14,9 +14,14 @@ services:
- global
volumes:
- mariadbdata:/var/lib/mysql
files:
image: nginx:1.17-alpine
volumes:
- files:/srv/files
volumes:
mariadbdata:
files:
networks:
global: