forked from LaconicNetwork/kompose
* merge top level non-service keys docker-compose default behaviour is to merge these top level keys such as `networks`
21 lines
318 B
YAML
21 lines
318 B
YAML
version: "3.3"
|
|
|
|
services:
|
|
other-toplevel-dev:
|
|
image: nginx
|
|
volumes:
|
|
- firstvolume:/var/www/nginx
|
|
configs:
|
|
- source: firstconfig
|
|
target: /etc/nginx.conf
|
|
mode: 644
|
|
|
|
volumes:
|
|
firstvolume:
|
|
driver_opts:
|
|
type: "nfs"
|
|
|
|
configs:
|
|
firstconfig:
|
|
file: ./first_config.txt
|