Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync main #46

Merged
merged 40 commits into from
Jun 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
909a7aa
ci: use the main branch for official releases
nicotsx Mar 8, 2024
c382563
refactor: new container names and assets
nicotsx Mar 10, 2024
fcadcb3
fix(docker-compose): wrong image tag runtipi/worker
nicotsx Mar 17, 2024
01016c1
chore(docker-compose): add healthchecks for runtipi container
nicotsx Mar 19, 2024
fb948d9
chore: update deps
nicotsx Mar 21, 2024
5681b95
Merge branch 'main' into develop
nicotsx Mar 21, 2024
452ca77
fix(debug): check for file tipi-compose.yml instead of tipi-config.yml
nicotsx Mar 25, 2024
7378ba1
Merge branch 'main' into develop
nicotsx Mar 25, 2024
2ab537b
Merge branch 'main' into develop
nicotsx Mar 28, 2024
975cfc1
fix(debug): use new naming convention for debugging running containers
nicotsx Apr 12, 2024
5a311d1
feat: allow custom path for all runtipi folders
nicotsx Apr 19, 2024
1940ed4
chore: remove obsolete "version" from docker-compose
nicotsx Apr 24, 2024
f83c678
ci: echo distinc id inside matrix
nicotsx Apr 25, 2024
a895541
refactor(api-request): improve error handling and error message
nicotsx Apr 28, 2024
05d56f0
refactor(main): use utility get_env_map
nicotsx Apr 28, 2024
a585e70
fix(seed): throw an error if seed is not created instead of returning…
nicotsx Apr 28, 2024
42ebb5e
feat(reset-password): add dashboard link in printed result
nicotsx Apr 28, 2024
44df662
Merge branch 'main' into develop
nicotsx Apr 28, 2024
505f072
refactor: improve error handling
nicotsx Apr 28, 2024
abe0304
refactor: update error handling and splitting
nicotsx Apr 28, 2024
cf9f06f
test: is_major_bump
nicotsx Apr 28, 2024
7f662c6
Update reset password command to add an expiration timestamp
sergi0g May 14, 2024
4357d35
Update reset_password.rs
sergi0g May 14, 2024
0061791
refactor: proper error handling with timestamp calc
nicotsx May 15, 2024
7138960
Merge branch 'hex-developer-develop' into develop
nicotsx May 15, 2024
2814d7d
Merge branch 'main' into develop
nicotsx May 21, 2024
cc398e0
chore: simplify suggested command for reset password
nicotsx May 23, 2024
821b361
Merge branch 'main' into develop
nicotsx May 23, 2024
b4c38ed
docs: update README.md
allcontributors[bot] May 25, 2024
f0b0c44
docs: update .all-contributorsrc
allcontributors[bot] May 25, 2024
18fd97a
Merge pull request #42 from runtipi/all-contributors/add-hex-developer
steveiliop56 May 25, 2024
e07da9d
docs: update README.md
allcontributors[bot] May 25, 2024
89eb1f1
docs: update .all-contributorsrc
allcontributors[bot] May 25, 2024
8c87613
Merge pull request #44 from runtipi/all-contributors/add-jnth
steveiliop56 May 25, 2024
808a8f3
chore: bump traefik to v3.0
nicotsx May 26, 2024
e6342fe
chore: remove needless env variables
nicotsx May 29, 2024
d1fc0a5
chore: mount docker-compose.yml
nicotsx May 30, 2024
2510131
chore: add --project-name param in start command
nicotsx May 30, 2024
33c4723
fix: remove new containers on start
nicotsx May 31, 2024
c9ab84b
Merge branch 'main' into develop
nicotsx Jun 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/assets/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,11 @@ services:
- ${RUNTIPI_APP_DATA_PATH:-.}/app-data:/app-data
# Static
- ./.env:/data/.env
- ./docker-compose.yml:/data/docker-compose.yml
- /var/run/docker.sock:/var/run/docker.sock:ro
- /proc:/host/proc
environment:
NODE_ENV: production
TIPI_VERSION: ${TIPI_VERSION}
NEXT_PUBLIC_TIPI_VERSION: ${TIPI_VERSION}
networks:
- tipi_main_network
labels:
Expand Down
13 changes: 12 additions & 1 deletion src/commands/start.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,18 @@ pub fn run(args: StartArgs) {
// Stop and remove containers
spin.set_message("Stopping existing containers...");
let container_names = vec![
// Legacy naming
"tipi-reverse-proxy",
"tipi-docker-proxy",
"tipi-db",
"tipi-redis",
"tipi-worker",
"tipi-dashboard",
// New naming
"runtipi",
"runtipi-reverse-proxy",
"runtipi-db",
"runtipi-redis",
];

for container_name in container_names {
Expand All @@ -109,7 +115,12 @@ pub fn run(args: StartArgs) {
spin.set_message("Starting containers...");
let user_compose_file = root_folder.join("user-config").join("tipi-compose.yml");

let mut args = vec!["-f".to_string(), root_folder.join("docker-compose.yml").display().to_string()];
let mut args = vec![
"--project-name".to_string(),
"runtipi".to_string(),
"-f".to_string(),
root_folder.join("docker-compose.yml").display().to_string(),
];

if user_compose_file.exists() {
args.push("-f".to_string());
Expand Down
Loading