str2 = '''21 312 21
25 412 13
end'''
[x.split(' ') for x in str2.split('end')[0].split('\n') if len(x)>0]
по теории так. а работает ли? может body вместо html?
nginx:
...
volumes:
- ./some/local/path/with/app:/path/in/container
apps:
...
volumes:
- ./some/local/path/with/app:/path/in/container
server {
...
location ~ ^/(static|media) {
root /path/in/container/path/to/static;
access_log off;
...
}
...
}