server-origin/readme.md
2024-06-25 12:24:46 +05:00

1.5 KiB

Init:

sudo git clone git@rozenlab.com:leo/repo-server.git && sudo docker network create proxynet && cd repo-server && sudo chmod +x start.sh

sudo git pull git@rozenlab.com:leo/repo-server.git


All run:

sudo ./start.sh


Traefik run:

Development: sudo docker compose --env-file .env.dev -f traefik.yml up -d

Production: sudo docker compose --env-file .env.prod -f traefik.yml up -d


Gitea run:

Development: sudo docker compose --env-file .env.dev -f gitea.yml up -d

Production: sudo docker compose --env-file .env.prod -f gitea.yml up -d


Postgres run:

Development: sudo docker compose -f postgres.yml up -d

Production: sudo docker compose -f postgres.yml up -d


Pgadmin run:

Development: sudo docker compose --env-file .env.dev -f pgadmin.yml up -d

Production: sudo docker compose --env-file .env.prod -f pgadmin.yml up -d


Nginx run:

Development: sudo docker compose --env-file .env.dev -f nginx.yml up -d

Production: sudo docker compose --env-file .env.prod -f nginx.yml up -d