Hi,
I've just used Portainer to create a new Stack with a composer-file to create a tandoor-stack. I've running this config successfull onto a raspi 4, but I want to bring it onto my main-server.
Unfortunely it shows running into portainer, also is shown it's configured port (actually 81:8081 - I tried out several ports ...), but I can't reach it's webinterface
I've tried out another container created on console with this compose-file, but same, I can't reach it with browser ...
Another docker-container running paperless-ngx is running successfull.
Anybody an idea, what I've to do?
The compose-file
Code
version: "3"
services:
db_recipes:
restart: always
image: postgres:11-alpine
volumes:
- ./postgresql:/var/lib/postgresql/data
env_file:
- ./.env
web_recipes:
image: vabene1111/recipes
restart: always
env_file:
- ./.env
volumes:
- staticfiles:/opt/recipes/staticfiles
- nginx_config:/opt/recipes/nginx/conf.d
- /srv/dev-disk-by-id-md-name-freenas-Freigaben/Docker/tandoor/data:/opt/recipes/mediafiles
depends_on:
- db_recipes
nginx_recipes:
image: nginx:mainline-alpine
restart: always
ports:
- 81:8081
env_file:
- ./.env
depends_on:
- web_recipes
volumes:
- nginx_config:/etc/nginx/conf.d:ro
- staticfiles:/static
- /srv/dev-disk-by-id-md-name-freenas-Freigaben/Docker/tandoor/data:/media
volumes:
nginx_config:
staticfiles:
Alles anzeigen