New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Anyone have a working docker compose file suitable for portainer? #680
Comments
Just to add I've tried various versions with tasmoadmin/tasmoadmin as the image etc, but been unable to make it through deployment. I did see the docker-compose file on the main page, but wasn't able to incorporate it. Ideally looking for something that fits (as close to as possible) to the scheme above. |
We had to migrate away from Docker hub. Please use this:
It's hosted on GitHub See: https://github.com/TasmoAdmin/TasmoAdmin/pkgs/container/tasmoadmin |
@inverse Thank you for the quick response. So I managed to get deployment with your assistance above, using this stack: version: '3.3' It deploys fully, but I have no access to the webpage, it times out. Error logs appear to show a successful startup. Anything glaringly obvious I am doing wrong here? (no port conflicts). start up logs here: https://pastebin.com/j2yCz16Y |
I'm using this for development... seems pretty similar :/
|
are you accessing it through this url? My compose file:
|
@inverse I'll give that a go
I was trying. I've been varying the ports. It's not a port issue, it just wasn't taking. I'll try with your compose, it looks a lot closer to what am used to. I'm clearly out of my comfort zone, and have never dealt with scripts/docker files before. |
The important thing you need to understand is this:
You know what this means, right? It means that inside the container, tasmoadmin listens on port 80, but externally (on the docker host/lan side) it's available on port 6666. So when you want to access tasmoadmin from the lan, you need to use the url: If tasmoadmin log doesn't report any error, that url must surely work. You can also check with
Let me know... |
Here is my docker-compose for the Portainer "stack". Keep in mind I am passing through a directory on the host for the volume.
This works well, had no issues so far. |
Lates version that works for me is 2.4.2. Version 3.0.x -> latest: Maybe I should have waited much longer, because I canceled the healthy status after 10 minutes. My portainer stack looks similar to this one from "netstx", with a different port (8888:80) and version (v2.4.2). |
Just looking for a general compose file to use as a "stack" in portainer.
What should we implement
Am currently running the following but it appears to be outdated/different image. I've been unable to modify it to pull the latest version of tasmoadmin 2.1:
version: '3.3'
services:
tasmoadmin:
image: raymondmm/tasmoadmin
container_name: TasmoAdmin
restart: unless-stopped
logging:
driver: json-file
network_mode: bridge
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
volumes:
- /docker/appdata/tasmoadmin:/data
- /etc/localtime:/etc/localtime:ro
ports:
- 5555:80
The text was updated successfully, but these errors were encountered: