server-origin/readme.md
2024-06-25 11:10:20 +05:00

63 lines
1.4 KiB
Markdown

Init:
sudo git clone git@rozenlab.com:leo/repo-server.git && sudo docker network create proxynet && cd repo-server && sudo chmod +x start.sh
---------------------------------------------------------------------
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
---------------------------------------------------------------------