Skip to content

Sutaai/deployments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deployments

This repository contains the definition of my tools deployments.

Good for me so I can track how I deploy my stuff.

Quick notes

ENV interpolation

Direct substitution
  ${VAR} -> value of VAR
Default value
  ${VAR:-default} -> value of VAR if set and non-empty, otherwise default
  ${VAR-default} -> value of VAR if set, otherwise default
Required value
  ${VAR:?error} -> value of VAR if set and non-empty, otherwise exit with error
  ${VAR?error} -> value of VAR if set, otherwise exit with error
Alternative value
  ${VAR:+replacement} -> replacement if VAR is set and non-empty, otherwise empty
  ${VAR+replacement} -> replacement if VAR is set, otherwise empty

Setting an user

All possible values:

services:
  app:
    image: python
    user: 1000:1000
    user: sutaai
    user: sutaai:web
    ...

Note

LinuxServer's images prefers PUID/PGID. Process won't be launched as root, but container will be.

References

About

A repository containing my Docker personal deployments.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages