Files
ansible/PROD.md
T
2025-06-02 23:56:25 +02:00

730 B

Prod setup

Swarm init

docker swarm init --advertise-addr 192.168.1.96 --force-new-cluster Swarm initialized: current node (j9bljgaqh9qch2nmozvu2bprs) is now a manager. To add a worker to this swarm, run the following command: docker swarm join --token SWMTKN-1-0eb9ypg3ouig0ac493scmjtogida7ddy79xr2e9kkvaitoz0y0-7t5lg5sx8q20uqz2uandsblc9 192.168.1.96:2377

Prod instances

docker stack deploy --compose-file poc/immich/stack-compose.yml immich docker stack deploy --compose-file docker-compose-registry.yaml registry docker stack deploy --compose-file poc/lampa/docker-compose.yaml lampa

docker stack deploy --compose-file docker-compose-nginx.yaml nginx

Draft

docker network create --driver overlay nginx_ingress