server-origin/readme.md

65 lines
1.5 KiB
Markdown
Raw Normal View History

2024-06-25 11:00:22 +05:00
Init:
2024-06-25 11:10:20 +05:00
sudo git clone git@rozenlab.com:leo/repo-server.git && sudo docker network create proxynet && cd repo-server && sudo chmod +x start.sh
2024-06-25 11:00:22 +05:00
2024-06-25 12:24:46 +05:00
sudo git pull git@rozenlab.com:leo/repo-server.git
2024-06-25 11:00:22 +05:00
---------------------------------------------------------------------
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
---------------------------------------------------------------------