Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
app:
image: ${ORGANIZR_IMAGE}
deploy:
<<: *default-deploy
environment:
PUID: ${ORGANIZR_ENV_PUID}
PGID: ${ORGANIZR_ENV_PGID}
TZ: ${ORGANIZR_ENV_TZ}
fpm: 'true'
branch: v2-master
networks:
private: {}
ports:
- published: 8082
target: 80
protocol: tcp
mode: ingress
volumes:
- type: volume
source: config
target: /config
healthcheck:
test: "curl -f http://localhost:80 || exit 1"
start_period: 10s
interval: 10s
timeout: 5s
retries: 5
docker stack deploy -c - organizr
. This is part of my "non-syno deployment", which uses Makfiles and envsubst and is a modulized deployment library. Due to the lack of make and envsubst on Syno, it is not portable ootb.me@dsm:~/test-env$ cat .env
image=myimage
port=80
volume=/volume
environment=env
me@dsm:~/test-env$ cat docker-compose.yml
version: '2.4'
services:
test:
image: ${image}
environment:
myenv: ${environment}
ports:
- ${port}:80
volumes:
- ${volume}:/test
me@dsm:~/test-env$ docker-compose config
services:
test:
environment:
myenv: env
image: myimage
ports:
- 80:80/tcp
volumes:
- /volume:/test:rw
version: '2.4'
docker-compose config
to see how the rendered compose.yml would look likeme@dsm:~/test-env$ cat .env
image=dockersuccess/docker-demo
port=8844
volume=/var/run/docker.sock
environment=test
me@dsm:~/test-env$ cat docker-compose.yml
version: '3.7'
services:
test:
image: ${image}
environment:
myenv: ${environment}
ports:
- published: ${port}
target: 8080
protocol: tcp
volumes:
- type: bind
source: ${volume}
target: /var/run/docker.sock
me@dsm:~/test-env$ docker-compose config
services:
test:
environment:
myenv: test
image: dockersuccess/docker-demo
ports:
- protocol: tcp
published: 8844
target: 8080
volumes:
- source: /var/run/docker.sock
target: /var/run/docker.sock
type: bind
version: '3.7'
docker-compose up
and open dsm:8844, you can see the docker-demo app.I realize I understood you wrong. I am using the docker-compose binary provided by the docker package.@one-eyed-king Which version of docker-compose are you using? I tried to upgrade mine recently and it broke as it had a new dependency I didn't have on my Synology. Just wondering if you've solved the issue or if I need to do a bit of work on it when I've got my .env sorted a bit further.
sudo pip install docker-compose
, which fails due to an expected file beeing a symlink instead of a file?sudo curl -L "https://github.com/docker/compose/releases/download/1.28.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
TTRSS works greatI did also consider something to pull in rss feeds so I can see quickly and easily if there's something new happening in the world that I'm interested in
Standard Notes and Bookstack (wiki) come to mindOh and anything else (list of what I'm running a few posts above) people now can't live without?
Just put it in the Resources section. I'm sure many users will find it useful.I'm also more than happy to share docker-compose snippets should anyone be interested.. I don't use the syno UI for containers anymore.
Maybe something like that: Docker - FreshRSS: A free, self-hostable news feed aggregatorI did also consider something to pull in rss feeds so I can see quickly and easily if there's something new happening in the world that I'm interested in.
I even had to clone and modify a container using a dockerfile (it was the only way to be able to get a usable guid/gpid into sftpgo).
Now.... I did want to set up a mail server.... but I can't see why I actually need to.
user: ${UID}:${PID}
? This declaration allows Docker to replace the id's for the first declared USER, which is USER 1000:1000
for drakkan/sftpgo. Though, the original declaration already has id's instead of a username:groupname, so I am not 100% certain the `user:` declaration realy works with this image. Join the partyIs it sad that I can't bear to look at the Syno UI when making containers?
Welcome to the clubIs it sad that I can't bear to look at the Syno UI when making containers?
So creating stacks is NOT broken anymore? If so, this would be realy, realy helpful for those beeing alergic to the command line.I have moved to portainer to manage my containers and just yesterday I have migrated creating my containers with docker create/run to docker-compose and today tested my compose.yml files directly in Portainer and so far so good
Seems like it's not broken, at least for what I have tried. There are still 2 containers out of 10 I'm running in CLI (adguard still docker run and portainer docker-compose)So creating stacks is NOT broken anymore? If so, this would be realy, realy helpful for those beeing alergic to the command line.
We use essential cookies to make this site work, and optional cookies to enhance your experience.