Hi,
i am trying to install tandoor on my OMV. So I installed docker and portainer over the webinterface.
Then i opened portainer, created a new user, created a new stack and copied the tandoor stack in the webeditor.
Code
version: "3"
services:
db_recipes:
restart: always
image: postgres:15-alpine
volumes:
- ./postgresql:/var/lib/postgresql/data
env_file:
- ./.env
web_recipes:
restart: always
image: vabene1111/recipes
env_file:
- ./.env
volumes:
- staticfiles:/opt/recipes/staticfiles
# Do not make this a bind mount, see https://docs.tandoor.dev/install/docker/#volumes-vs-bind-mounts
- nginx_config:/opt/recipes/nginx/conf.d
- ./mediafiles:/opt/recipes/mediafiles
depends_on:
- db_recipes
nginx_recipes:
image: nginx:mainline-alpine
restart: always
ports:
- 82:80
env_file:
- ./.env
depends_on:
- web_recipes
volumes:
# Do not make this a bind mount, see https://docs.tandoor.dev/install/docker/#volumes-vs-bind-mounts
- nginx_config:/etc/nginx/conf.d:ro
- staticfiles:/static:ro
- ./mediafiles:/media:ro
volumes:
nginx_config:
staticfiles:
Alles anzeigen
When i try to deploy the stack, i get the error:
failed to deploy a stack: Failed to load /data/compose/4/.env: open /data/compose/4/.env: no such file or directory
What do i miss here?
Apparently intructions do skip some steps here And obviously I am very new to the whole docker story.
Thanks for your help,
Markus